I’ve been trying to make the cover of a trellos card the icon of the player. I’ve got no clue on how to do it. I’ve tried with GetUserThumbnailAsync but that didn’t work.
How would I do this?
I’ve been trying to make the cover of a trellos card the icon of the player. I’ve got no clue on how to do it. I’ve tried with GetUserThumbnailAsync but that didn’t work.
How would I do this?
You need to make an API call to retrieve the data. Relevant page:
https://thumbnails.roblox.com/docs/index.html
There are a number of choices of avatar image to return.
For example:
curl -X 'GET' \
'https://thumbnails.roblox.com/v1/users/avatar-3d?userId=1688252759' \
-H 'accept: application/json'
or
https://thumbnails.roblox.com/v1/users/avatar-3d?userId=1688252759
Will both return my avatar image, but are called by different methods