node-twitter-api-v2 icon indicating copy to clipboard operation
node-twitter-api-v2 copied to clipboard

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

Open onesyah05 opened this issue 2 years ago • 5 comments

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' }

onesyah05 avatar Jul 12 '23 10:07 onesyah05

@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.

davidag avatar Oct 19 '23 16:10 davidag

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

glacials avatar Apr 19 '24 22:04 glacials