-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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#722 https://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
- Loading branch information
Showing
3 changed files
with
54 additions
and
65 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters