Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How would I use this API?

Asked by 8 years ago

HTTP Service? I tried it and it errored saying that it wasn't trusted. I'm trying to get the rank of a player without them being in game.

https://gyazo.com/d12cf83f494d388f59fa66cd09e4b400 http://wiki.roblox.com/index.php/Web_APIs#Get_a_group.27s_ranks

1 answer

Log in to vote
0
Answered by
GShocked 150
8 years ago

If you are using a Lua script in game to use this API, you would want to use a proxy.

You can't use HttpService to access Roblox.com because of security reasons.

http://www.rproxy.pw/ helps with this and is recommended by Roblox.

Here is the URL you would want to use: http://rproxy.pw/Game/LuaWebService/HandleSocialRequest.ashx?method=GetGroupRole&playerid=20960275&groupid=2542140

But replace playerid's value with the Player ID you are using, and replace groupid's value with the group ID you are using.

Ad

Answer this question