It takes the hashtag you want to search for and number of tweets you want to analyse. Then using TextBlob it analyses the sentiments of the tweets and plot a pie chart using matplotlib. It also downloads media associated with all the tweets in the currentDirectory/Images directory.
- Apply for twitter developer account and generate API keys
- Dowload this file and cd to the directory where app.py is installed
- Use command
pip3 install tweepy textblob matplotlib
- Change the api keys in app.py file
- Run
python3 app.py