Documentation Index
Fetch the complete documentation index at: https://docs.replyke.com/llms.txt
Use this file to discover all available pages before exploring further.
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:1
20
Returns
The function returns a Promise that resolves to aFollowersResponse object containing:
FollowersResponse
Array of follower information
Pagination metadata
FollowerWithFollowInfo
| Field | Type | Description |
|---|---|---|
followId | string | Unique ID of the follow relationship |
user | User | User object containing follower information |
followedAt | string | ISO date string of when the follow occurred |
PaginationInfo
| Field | Type | Description |
|---|---|---|
currentPage | number | Current page number |
totalPages | number | Total number of pages available |
totalCount | number | Total number of followers |
hasNextPage | boolean | Whether there are more pages after current page |
hasPreviousPage | boolean | Whether there are pages before current page |
limit | number | Number of items per page used in this request |
Error Handling
The hook will throw errors in the following cases:- No project is specified
- No user is logged in

