PLhery / node-twitter-api-v2

Strongly typed, full-featured, light, versatile yet powerful Twitter API v1.1 and v2 client for Node.js.
https://www.npmjs.com/package/twitter-api-v2
Apache License 2.0
1.24k stars 174 forks source link

Your client app is not configured with the appropriate oauth1 app permissions for this endpoint #493

Open onesyah05 opened 12 months ago

onesyah05 commented 12 months ago

Note: For questions about how to use an endpoint, or problems related to Twitter API than the lib itself, please use the GitHub Discussions instead of opening a new issue. i have error image

data: { title: 'Forbidden', status: 403, detail: 'Your client app is not configured with the appropriate oauth1 app permissions for this endpoint.', type: 'https://api.twitter.com/2/problems/oauth1-permissions' }

davidag commented 8 months ago

@onesyah05 You have to go through the "User authentication setup" in your app settings inside the Twitter Developer Portal. There is a doc with help for this setup.

glacials commented 2 months ago

I was able to solve this by regenerating all my tokens. My guess is I had generated them before setting my app to read+write. Make sure the text at the bottom here says read+write, not read-only:

image