You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 7, 2024. It is now read-only.
twitter.error.TwitterError: [{'message': 'You currently have access to a subset of Twitter API v2 endpoints and limited v1.1 endpoints (e.g. media post, oauth) only. If you need access to this endpoint, you may need a different access level. You can learn more here: https://developer.twitter.com/en/portal/product', 'code': 453}]
The text was updated successfully, but these errors were encountered:
May your code is not wrong, I've been same issue, but it's about Twitter's API since if your check this link, you will see that you have to pay to get new environments for your App is working.
It's my app but it's free so if you see:
And my endpoints (free plan):
So if my code is this, it'll be same issue
python-twitter appears to not handle the new twitter v2 changes,
example usage from twitter is to just call the api directly
bear/python-twitter#722https://github.com/twitterdev/Twitter-API-v2-sample-code/blob/main/Manage-Tweets/create_tweet.py#L51
which didn't work, so switched to Tweepy which is working.
Additionally the new rate limits don't like the bot bulk-posting a whole
update at once, so adjusted to just exit if we hit a rate limit. The
dynamo cache should make sure we don't miss a post or repost.
Last, the API apparently somehow now doesn't support tweets longer than
280 chars at all, so making sure we stay under budget
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
status = api.PostUpdate('I love python-twitter!')
twitter.error.TwitterError: [{'message': 'You currently have access to a subset of Twitter API v2 endpoints and limited v1.1 endpoints (e.g. media post, oauth) only. If you need access to this endpoint, you may need a different access level. You can learn more here: https://developer.twitter.com/en/portal/product', 'code': 453}]
The text was updated successfully, but these errors were encountered: