Home c# Discord How to get username with discord ID

Discord How to get username with discord ID

Author

Date

Category

I have a lot of discord ID. I would like to get from ID – & gt; User # 1234. In the official API, I found https://discord.com/developers/docs/resources/ User # Get-User , but as specifically it works and did not understand. I tried to do through the URL request https://discord.com/users/620870096822000041(id changed)
But it works only if there is authorization on the Discord website and there is General Servers / Friends with this ID I would like to implement it either with # or request. In advance Thank you.


Answer 1, Authority 100%

In order for you to learn info about users, then you need to make a request for https: // discord .com / API / V8 / Users / ID
And in the authorization header insert the token bot, which you can create here and everything will take it out.

Programmers, Start Your Engines!

Why spend time searching for the correct question and then entering your answer when you can find it in a second? That's what CompuTicket is all about! Here you'll find thousands of questions and answers from hundreds of computer languages.

Recent questions