• Preparing search index...
  • The search index is not available
Lens SDK Reference
  • Lens SDK Reference
  • @lens-protocol/react-native
  • Core
  • useMutualFollowers

Function useMutualFollowers

  • useMutualFollowers(args): PaginatedReadResult<Profile[]>
  • useMutualFollowers is a paginated hook that lets you fetch mutual followers between two profiles.

    Parameters

    • args: {
          limit?: InputMaybe<LimitType>;
          observer: ProfileId;
          orderBy?: InputMaybe<ProfilesOrderBy>;
          viewing: ProfileId;
      }
      • Optional limit?: InputMaybe<LimitType>
      • observer: ProfileId
      • Optional orderBy?: InputMaybe<ProfilesOrderBy>

        The order by which to sort the profiles

      • viewing: ProfileId

    Returns PaginatedReadResult<Profile[]>

    Example

    const { data, loading, error } = useMutualFollowers({
    observer: '0x123',
    viewing: '0x456',
    });
    • Defined in packages/react/src/profile/useMutualFollowers.ts:30

Settings

Member Visibility

Theme

Lens SDK Reference
  • @lens-protocol/react-web - v2.3.2
  • @lens-protocol/react-native - v2.3.2
  • @lens-protocol/client - v2.3.2