Follow Relationships
This guide explains how to fetch followers and followings on Lens.
List Followers
- TypeScript
- GraphQL
- React
Use the paginated fetchFollowers action to list followers of an Account.
See the Pagination guide for more information on how to handle paginated results.
List Following
- TypeScript
- GraphQL
- React
Use the paginated fetchFollowing action to list followings of an Account.
See the Pagination guide for more information on how to handle paginated results.
List Followers You Know
You can also cross-reference the followers of an Account that are also the followings of another Account.
This could be a powerful hint to suggest potential connections between two Accounts.
- TypeScript
- GraphQL
- React
Use the paginated fetchFollowersYouKnow action to list the followings of a target Account that are followed by an observer Account.
See the Pagination guide for more information on how to handle paginated results.
Inspect Follow Status
Given 2 or more Accounts, you might need to know what is their relative following relationship.
- TypeScript
- GraphQL
- React
Use the fetchFollowStatus action to verify the follow status of a list of target-observer pairs.