xdevplatform / Twitter-API-v2-sample-code

Sample code for the Twitter API v2 endpoints
https://developer.twitter.com/en/docs/twitter-api/getting-started/about-twitter-api
Apache License 2.0
2.61k stars 967 forks source link

When authenticating requests to the Twitter API v2 endpoints, you must use keys and tokens from a Twitter developer App that is attached to a Project. You can create a project via the developer portal #150

Open infovpcs opened 5 months ago

infovpcs commented 5 months ago

tweets_endpoint_url : https://api.twitter.com/2/users/#id/tweets I am trying to fetch tweets but I am still getting issues with this "reason":"client-not-enrolled" Please help with this.i am testing with Python odoo framework.

nathonNot commented 4 months ago

me too use sample code get 403 https://github.com/twitterdev/Twitter-API-v2-sample-code/blob/main/Usage%20Tweets/get_usage_tweets.py

dpdearing commented 4 months ago

I believe this is because the new API only allows creating tweets at the Free tier.

See https://devcommunity.x.com/t/v2-suddenly-getting-client-not-enrolled-today/195456/86