I have a little server running some NodeJS code that takes feedback from roblox games, gets a profile picture using the player’s ID, and submits the feedback to discord.
The problem is, the majority of the player headshots that I’m getting is the “pending icon.”
I think the request itself is what tells Roblox to generate the thumbnail. In order to get a valid thumbnail, you’ll have to make one request to ask Roblox to generate it, then repeatedly make requests to check if it has been generated. This is the same way that GetUserThumnailAsync is used.
Getting the thumbnail of avatars is a hit-and-miss type of thing, it way too commonly returns a pending icon. So maybe you could make the code re “get” the image until you have a proper thumbnail. You’d have to have some way of detecting that the image is a pending icon though.