Tweepy is open-sourced, hosted on GitHub and enables Python to communicate with Twitter platform and use its API.
- Use the package manager pip to install foobar.
pip install tweepy
You need to have a Twitter account.
Create a developer account to get Twitter API
Just note down consumer key, consumer secret, Access Token & _Access Secret Token
Bingo!!! You are good to go.
import tweepy
import time
and just go with the code. Copy and paste all the Tokens whereever specified in the code. Enter your Search String next to
search
& number of times next tonrt
.
- Bingo!! Your Tweet got automatically liked. Go to your Twitter account and check your liked tweet.
-
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
-
Please make sure to update tests as appropriate.