Skip to content

Latest commit

 

History

History
10 lines (8 loc) · 570 Bytes

README.md

File metadata and controls

10 lines (8 loc) · 570 Bytes

TwitterAnalyser

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.

Steps:

  1. Apply for twitter developer account and generate API keys
  2. Dowload this file and cd to the directory where app.py is installed
  3. Use command pip3 install tweepy textblob matplotlib
  4. Change the api keys in app.py file
  5. Run python3 app.py