In this repo, I included code that utilises the new twitter API V2 using python and tweepy.
There is a full Video tutorial series on youtube as well
- Get your twitter API keys and follow people - Twitter API V2 Tutorial 1
- Set up twitter search with specific search queries - Twitter API V2 Tutorial 2
- Create Flask app to display tweets, retweet and respond manually - Twitter API V2 Tutorial 2
Clone the repo
add your twitter keys in the config.py file
API_KEY = 'add-your-key'
API_KEY_SECRET = 'add-your-key'
BEARER_TOKEN = 'add-your-key'
ACCESS_TOKEN = 'add-your-key'
ACCESS_TOKEN_SECRET = 'add-your-key'
VPS_DIRECTORY = 'add-your-key'
Install the libraries
pip install tweepy
pip install flask