User profile avatar through link

Hi,

I’m trying to make the avatar of a Discord webhook message that of the user that is calling it. This used to work by concatenating the user ID to the old link to get the avatar as a string, as below.

https://www.roblox.com/bust-thumbnail/image?userId="..plr.userId.."&width=420&height=420&format=png

Note the …plr.userId…

This no longer works - does anyone know of another method or link where this works?

Thanks in advanced.

2 Likes

I know nothing about http stuff but going to a user’s profile’s source you can get an avatar image, if you can somehow find a way to access it through a script…?

Yes - but it was easy before because all URLs were the same apart from the UserId, so this could be used to change what the URL brought back. Now, if you look at the first part of the URL after the top-level (.com), you see the string starting bba - I don’t know what that is.

Edited : For some reason roblox removed API endpoint of the avatar link, so you can’t get avatar img without any proxy