I recently found some games that could retrieve information from a discord user (such as their username or info related to that same person).
I’d like to know how to retrieve this same information using OAuth 2.0, for example? I don’t know if I should use this method or not. And if so, if you could explain how to use it, that would be great!
By the way, I don’t know if it’s actually roblox OAuth 2.0 that’s being used, but I’ve sometimes clicked on a link that redirects me to a roblox site that asks me if I can give certain information (often with an indicated security level). Is this also useful?
Anyway, if you have any information, videos or explanations, I’d love to hear from you!
There’s really nothing to worry about… This will be used, for example, to link discord and roblox, make a command with a discord bot to see information about the player (rank…), retrieve the nickname to display it on a GUI, create a WL system directly from discord and not just from roblox…
Essentially, this (via an API key, which is what I used for my bot) lets you see a player’s social links that are attached to their account (as this image shows:)
Adding on to that, Some games have these information because they may tap into other systems, eg BloxLink, RoWifi or RoVer as a few examples.
A user is ALREADY ‘linked’ here, with something looking a bit like (‘UserID’ = ‘DiscordId’). The game may use the Discord API to match that Id with other information, providing that.
Of course, Social links, and Discord are a 13+ (or AoDC) thing, so make sure your game ONLY lets those who are 13+ access your system!
I have something similar in one my my games, just for linking purposes (e.g. getting in game rewards for having certain discord roles).
I recommend checking out the Bloxlink Developer API – one simple bot in your server where they verify their own accounts using many different types of verifications. It has a very self explanatory API that you can use and handles all the linking for you!