SaverBot is a twitter bot that helps people save tweets that they want to.
- Jagannath E Shahi https://github.com/Jagannathes
- Mayon Francis https://github.com/Mayon-Francis
- Adil Ayanikadan https://github.com/adil315
BFH/recj53mi6sGNVB6Dn/2021
https://www.loom.com/share/0e18329730a143b199a7d8da917e2660
- It gathers mentions by looking for
@saverbot1 save
- Tries to send DM, If success onto next one
- Else, It adds it to a pending list, and saves data for a set No. of iterations(120960), which can be modified according to your choice
- The Tweets to be sent in Pending list are retried automatically
- Loop continues
- Go to https://twitter.com/saverbot1 and follow the bot, so that it can send you DMs easily.
- When you find any tweet that you like, just reply to the tweet with '@saverbot1 save' and the tweet will be messaged to you personally in minutes!
- That's it! that's all there is to it, simple, Straight Forward!
- Tweepy
- pyGithub
- Logging
- Time
- Os
Set up the followinf environment varibles:
- TWITTER_API_KEY
- TWITTER_API_SECRET_KEY
- TWITTER_ACCESS_TOKEN
- TWITTER_ACCESS_TOKEN_SECRET
- GITHUB_TOKEN
- Setup a suitable repo and file for saving since ID and modify lines 18 and 19 according to your repository
After making sure that you have all the required modules, just run the python script, it will automatically send the DMs and updates the github repo storing since ID.