Overview
Returns a function that fetches the total count of users that a given user follows. Authentication is optional — the endpoint works without a token. When the caller is signed in, any user with a block between them and the caller, in either direction, is excluded from the count. Block filtering requires themoderation bundle.
Usage Example
Parameters
The hook returns a function. That function accepts:string
required
The ID of the user whose following count to fetch.
Returns
number
Total number of users that the specified user is following.
Related
- useFetchFollowingCount — get count for the current user
- useFetchFollowingByUserId — fetch the full list

