I've developed that bot a couple of weeks ago which retweets everything related to cybersecurity. But you can configure that bot according to your own need.
Install all the modules in requirement.txt
pip3 install -r requirements.txt
And done.
-
Go to Twitter Developer Platform and create a new app.
-
Now just take those keys and slap them on main.py, Following keys are required.
- API_key
- API_key_secret
- access_token
- access_token_secret
- bearer_token
- Now replace hashtags with whatever query you want.
And boom you are good to go.
Execute main.py using python3
python3 main.py
Done.