useFetchFollowers
Overview
TheuseFetchFollowers hook fetches the list of users who are following the current logged-in user. It returns paginated results with detailed follow information including when each follow occurred.
Usage Example
Advanced Usage with Pagination
Parameters & Returns
Parameters
The hook returns a function that accepts an optional object with the following fields:number
1
number
20
Returns
The function returns a Promise that resolves to aFollowersResponse object containing:
FollowersResponse
FollowerWithFollowInfo[]
Array of follower information
PaginationInfo
Pagination metadata
FollowerWithFollowInfo
PaginationInfo
Error Handling
The hook will throw errors in the following cases:- No project is specified
- No user is logged in

