Hello! I’ve never used HTTP Service before and I want to be able to get a JSON from online.
(https://devforum.roblox.com/u/Aiden_12114.json)
I want to check if a user is in the DevForum (Has Member Rank) and i’m not sure how to do it. Any help?
Hello! I’ve never used HTTP Service before and I want to be able to get a JSON from online.
(https://devforum.roblox.com/u/Aiden_12114.json)
I want to check if a user is in the DevForum (Has Member Rank) and i’m not sure how to do it. Any help?
You’d need to use a proxy to make GET requests to the link , since roblox doesn’t allow requests to their own api’s and website in-game
You can always use an JSON parser to get details
Now after you’ve got everything set up just do this
local username = ""
local response = HttpProxy:GetAsync("https://devforum.roblox.com/u/"..username..".json")
print(response.user.trust_level)
If it returns 0 it means they’re a non-member and 1 means they’re a member
Hope this helps.
And then,
2 - Regular
3 - Top Contributer
4 - Post Approval
5 - Sage
Is this correct?
Also I would suggest you not to use someone else’s proxies as it is unreliable , you should just make your own. (Keep in mind that the limit to make requests with a Google Web App is 20k/day)
Top Contributor is only a group that grants a title and a flair for active contributors in our community, not a separate trust level. There are only 4 trust levels which are hard coded into Discourse and we’ve renamed a few of them to fit our needs.
0 - Visitor
1 - Member
2 - Regular
3 - Post Approval
4 - Leader (Community Sages, Developer Relations & Some Staff)
Sorry for bump, but is there a way to do this but check what Premium tier a user has instead? I’m trying to make a custom leaderboard that brings back the BC, TBC and OBC icons depending on what premium tier the user has
As of now, it is impossible to do that without the player’s cookie.