> ## 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.

# Fetch following

> Fetch the list of users the current user is following

## Overview

Returns a function that fetches the paginated list of users the currently authenticated user follows. Each entry includes the follow record ID, the followed user's profile, and the timestamp.

For fetching another user's following list, see `useFetchFollowingByUserId`.

## Usage Example

```tsx theme={null}
import { useFetchFollowing } from "@replyke/react-js";

function FollowingList() {
  const fetchFollowing = useFetchFollowing();
  const [following, setFollowing] = useState([]);

  useEffect(() => {
    fetchFollowing({ page: 1, limit: 20 }).then((res) => {
      setFollowing(res.data);
    });
  }, []);

  return (
    <ul>
      {following.map(({ followId, user }) => (
        <li key={followId}>{user.name}</li>
      ))}
    </ul>
  );
}
```

## Parameters

The hook returns a function. That function accepts:

<ParamField path="page" type="number">
  Page number to fetch. Defaults to `1`.
</ParamField>

<ParamField path="limit" type="number">
  Number of results per page. Defaults to `20`.
</ParamField>

## Returns

Returns a `PaginatedResponse` containing an array of following entries:

<ResponseField name="data" type="FollowingWithFollowInfo[]">
  Array of following entries.

  <Expandable title="FollowingWithFollowInfo properties">
    <ResponseField name="followId" type="string">
      ID of the follow record.
    </ResponseField>

    <ResponseField name="user" type="User">
      The followed user's profile. See [User data model](/data-models/user).
    </ResponseField>

    <ResponseField name="followedAt" type="string">
      ISO timestamp of when the follow was created.
    </ResponseField>
  </Expandable>
</ResponseField>

<ResponseField name="pagination" type="object">
  Pagination metadata including `currentPage`, `totalPages`, `totalCount`, `hasNextPage`, and `hasPreviousPage`.
</ResponseField>

## Related

* [useFetchFollowingByUserId](/hooks/follows/use-fetch-following-by-user-id) — fetch another user's following list
* [useFetchFollowingCount](/hooks/follows/use-fetch-following-count) — get total following count
