Issue with Roblox Friend APIs

Hello!
I recently took a bit of interest with Roblox’s APIs and wanted to use them on my website. (Note that I am using PHP) As a test I ran

echo file_get_contents("https://friends.roblox.com/v1/my/friends/count");

When I ran this I received nothing. When I read the docs I assumed that you did not need to send any authorization and the /v1/my/friends/count was just a GET request and I did not need to send any authorization.

When I ran curl https://friends.roblox.com/v1/my/friends/count in the console I learned that my request was denied.

Does my website have to be “approved” before I test the roblox APIs or do I need to send authorization?

Thanks!

You’ve gotta use the authorisation API to login before using this:

1 Like

Ah, that explains it. Thanks!


1 Like