of     1   

RekkSai
#215505422Friday, April 28, 2017 10:09 PM GMT

I have tried to use the web APIs for this which seemed simple enough However the HTTP service doesn't allow for access of roblox #### and guess what the APIs are User Thumbnail Regular https://www.roblox.com/Thumbs/Avatar.ashx?x=100&y=100&username=ROBLOX ############################################################## ######### #################################################################################### ######################################################################################## ############################################################################################ ###################################################################################### ....Roblox #### i get trust check failed error because of this. I can't get the id or the headshot of a user.
RekkSai
#215505470Friday, April 28, 2017 10:09 PM GMT

The hashtags are all roblox links btw from the Web API page
Wunder_Wulfe
#215505757Friday, April 28, 2017 10:13 PM GMT

y do u need to fetch it with the http service...
RekkSai
#215506002Friday, April 28, 2017 10:17 PM GMT

Because you get the picture from the Web APIs right? Otherwise you tell me how to get a headshot of the user please?
Wunder_Wulfe
#215506058Friday, April 28, 2017 10:18 PM GMT

bruh u use the &username=___ part in a content string for images
RekkSai
#215506404Friday, April 28, 2017 10:24 PM GMT

Please expand, I don't understand
Unsubtleties
#215506472Friday, April 28, 2017 10:25 PM GMT

You don't need to explicitly send any requests or anything. Just use the actual link as an image and you'll see the avatar picture.
Wunder_Wulfe
#215506475Friday, April 28, 2017 10:25 PM GMT

Wunder_Wulfe
#215506507Friday, April 28, 2017 10:25 PM GMT

RekkSai
#215506628Friday, April 28, 2017 10:27 PM GMT

This does work for the full body picture, but how does it work for a headshot?
Unsubtleties
#215506650Friday, April 28, 2017 10:27 PM GMT

Look on the Wiki?
RekkSai
#215506843Friday, April 28, 2017 10:30 PM GMT

I did I am looking at the APIs now. Problem is for the headshot, I need to get the ID of the player. So I can try player.UserID, like it says on the wiki http://wiki.roblox.com/index.php?title=API:Class/Player/UserId but studio says it doesn't exist I tried HTTP service to get id from another API that didn't work cos i cant use http service like that... so idk what to do...
Unsubtleties
#215506909Friday, April 28, 2017 10:31 PM GMT

RekkSai
#215507050Friday, April 28, 2017 10:33 PM GMT

You can't use that function or the GetThumbnailFromUsernameAsync(), they're temporarily deprecated due to errors....
Wunder_Wulfe
#215507053Friday, April 28, 2017 10:34 PM GMT

u dont need the id (most likely) as most of the apis allow support for multiple arguments &userid=ID or &username=NAME and things like that should work on all things that require player information
RekkSai
#215507204Friday, April 28, 2017 10:36 PM GMT

######################################################################################## this is the link that gives me the correct picture. Tell me how this works with a Name.
Wunder_Wulfe
#215507239Friday, April 28, 2017 10:36 PM GMT

" &userid=ID or &username=NAME " [2]
RekkSai
#215507311Friday, April 28, 2017 10:38 PM GMT

Ok I figured it out. Final code: player = script.Parent.Parent.Parent.Parent.Parent id = player.UserId script.Parent.Image = #################################################################################################
Wunder_Wulfe
#215507353Friday, April 28, 2017 10:38 PM GMT

game.Players.LocalPlayer..
Unsubtleties
#215507379Friday, April 28, 2017 10:39 PM GMT

You might want to use GetService.

    of     1