fetch connection
is there any way i can get connections like (github, twitter, xbox, youtube) etc of an user?
5 Replies
- 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 OPYou can through oauth2, but not the gateway (so not discord.js)
is there any docs for this?
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
).tysm