A twitter bot for retweeting the most retweeted tweet from a list of tweets containing a certain key word
- Libraries:
- tweepy
- pandas
- Actions:
- register the application using your twitter account and generate access keys and tokens
- The script uses the Twitter API to extract a defined number of tweets containing key word of your choice.
- It then searches for the tweet with most retweets and the tweet which is most favorited
- Then it retweets the most retweeted tweet using your account and...
- if the most favorited tweet is != to the most retweeted one -- it retweets that one also
Knock yourself out!