The title basically says it but I will explain a little. I am making a stats GUI that contains details about the player and I need to get the players description from their profile page. Any clue how to do this through code to automate the system?
You need a proxy to do this. Make a request to https://users.roblox.com/v1/users/{userid} and then that will give you a dictionary of info relating to the user, including their description.
Yes, you use their user id in place of {userid}. So for example if you wanted to look up the user with the user ID 123456, youâd make the request to https://users.roblox.com/v1/users/123456. You cannot make requests to Roblox from Roblox though, so thatâs where the proxy server comes in place.
Use my module
It basically does what @7z99 said, but easier to read, its proxy is from Google, before roproxy or rprxy was used, but it was deprecated.
local APIsManager = require(game:GetService("ServerStorage").APIsManager).new(ScriptId)
local UserInfo = APIsManager.UsersAPI:UserInfo(1) -- Roblox user
print(UserInfo.description) -- Welcome to the Roblox profile!