Friends
Last updated
Last updated
This page has methods that include things like friends and followers. The page below introduces you to "promises" which is what is used to handle success and errors with the API.
This method does not require authorization.
This method counts the friends for a specified user.
Sample code: (provides the friend count of the Roblox account)
integer
userId
Returns: <integer>
This method does not require authorization.
This methods gets the followers of a specified user in a page format. If you do not know how to use pages, you can check it out at the page below.
Sample code: (gets the followers of me)
integer
userId
Returns: <array> (page object)
This method does not require authorization.
This method gets the people the specified user is following in a page format. If you don't know how to use pages, here's the rundown:
Sample code: (gets the people I'm following) (nobody lol)
integer
userId
Returns: <array> (page object)
This endpoint requires authorization
This counts the friend requests for the current authenticated user.
Sample code:
This function requires no arguments.
Returns: <integer>
This method does not require authorization.
This method returns the friends of a specified user in an array format.
Sample code:
integer
userId
Returns: <array> Example: