Skip to content
Advertisement

Roblox API ( Avatar Equipment )

I am currently working on Roblox API. I am stuck on one question. Reason : I have this link https://avatar.roblox.com/v1/users/2/currently-wearing. This shows what specified users have equipped on them. this link right here shows this: {“assetIds”:[382537569,607702162,607785314]} My goal is to get the assetIds to string. I tried this:

JavaScript

But it Shows Array. I need some help.

Advertisement

Answer

The cURL is not necessary as the file_get_contents() get you the data you appear to require

JavaScript

RESULT

JavaScript
User contributions licensed under: CC BY-SA
1 People found this is helpful
Advertisement