Classic APIs
ClassicFriendsApi
friendsCount

friendsCount

Gets friends count for a specified user.

Parameters

NameTypeDescription
userIdIdentifierThe id of the user to get friends for.

Example

const { data: count } = await ClassicFriendsApi.friendsCount({ userId: 45348281 }); 

Endpoint

GET /v1/users/{userId}/friends/count