What I am doing is simply creating a twitter filter using sentiment analysis. The tweets are fetched using the twitter api, stored in redis database, sentiment analysis is done and then top 15 tweete are displayed using flask and HTML and Jinja. Green, Red and Grey borders are used to show the positive, negative and neutral tweets.
- Install Redis
- Make a twitter account at Twitter.
- Make a twitter developer account, make an app and copy the public and private keys.
- Clone the repo by doing git clone https://github.com/rajneesh44/TwitterStreamingFilter.git
- Install the requirements.txt : #pip install requirements.txt
#run main.py and then application.py
python main.py
python application.py