Classic APIs
ClassicFriendsApi
userFollowers

userFollowers

Gets the followers for a specific user.

Parameters

NameTypeDescription
userIdIdentifierThe id of the user to get the followers for.
limit?10 | 18 | 25 | 50 | 100The number of results to be returned.
sortOrder?SortOrderThe order that the results are sorted in.
cursor?stringThe paging cursor for the previous or next page.

Example

const { data: followersCount } = await ClassicFriendsApi.userfollowersCount({ userId: 45348281 }); 

Example Data

[
  {
    isDeleted: false,
    friendFrequentScore: 0,
    friendFrequentRank: 201,
    hasVerifiedBadge: true,
    description: null,
    created: 0001-01-01T05:51:00.000Z,
    isBanned: false,
    externalAppDisplayName: null,
    id: 156,
    name: "builderman",
    displayName: "builderman",
  },
] 

Endpoint

GET /v1/users/{userId}/followers