Skip to content

raj09utkarsh/TwitterAnalyser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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