I’ve gone and figured out how this works as I’m not familiar with this kind of stuff and using :GetAsync I tried to run it I get this error: HttpService is not allowed to access ROBLOX resources
Is there something I did wrong or is this intentional? Is there another way to get the headshot thumbnail?
It’s intentional, you need to use a proxy to access Roblox APIs. I’m not too sure whether or not there’s a standard URL that you can input that returns the proper image.
The URL I posted at first used to work as I said and you only had to put in the User ID so it’s unfortunate that’s gone.
I’ve heard of Proxies before but again this is stuff I’ve never touched before. How do I use it?
A proxy is basically like a middleman server. You make a request to the proxy, then the proxy makes a request to Roblox’s API, then returns it back to the game server.
RoProxy is a valid public proxy but I’ve heard it caused people to get banned so it might be better to host your own. There are a few tutorials that teach you how to set up a proxy, personally I use proxy service personally but there are more than just that one available. I think heroku is disallowing proxy servers as well so not 100% sure but this tutorial tells you everything: