fetch connection

is there any way i can get connections like (github, twitter, xbox, youtube) etc of an user?
No description
5 Replies
d.js toolkit
d.js toolkitβ€’8mo ago
- What's your exact discord.js npm list discord.js and node node -v version? - Not a discord.js issue? Check out #other-js-ts. - Consider reading #how-to-get-help to improve your question! - Explain what exactly your issue is. - Post the full error stack trace, not just the top part! - Show your code! - Issue solved? Press the button! - βœ… Marked as resolved by OP
Squid
Squidβ€’8mo ago
You can through oauth2, but not the gateway (so not discord.js)
DevBear
DevBearβ€’8mo ago
is there any docs for this?
πŸŒΊπŸ‡«πŸ‡· Shigu :3 🌺
Yes, https://discord.com/developers/docs/topics/oauth2. You need at least the connections scope to use the endpoint that retrieves a user connection (/users/@me/connections).
DevBear
DevBearβ€’8mo ago
tysm