Overview
Returns a function that fetches the paginated list of users that a given user follows, identified byuserId. This is a public endpoint — authentication is not required.
For fetching your own following list, see useFetchFollowing.
Usage Example
Parameters
The hook returns a function. That function accepts:The ID of the user whose following list to fetch.
Page number to fetch. Defaults to
1.Number of results per page. Defaults to
20.Returns
Returns aPaginatedResponse containing an array of following entries:
Array of following entries.
Pagination metadata including
currentPage, totalPages, totalCount, hasNextPage, and hasPreviousPage.Related
- useFetchFollowing — fetch the current user’s own following list
- useFetchFollowingCountByUserId — get following count for a user

