Skip to content

Making a twitter streaming filter using flask and sentiment analysis

License

Notifications You must be signed in to change notification settings

rajneesh44/TwitterStreamingFilter

Repository files navigation

TwitterStreamingFilter

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.

Data Pipeline

Data Pipeline

Usage

  1. Install Redis
  2. Make a twitter account at Twitter.
  3. Make a twitter developer account, make an app and copy the public and private keys.
  4. Clone the repo by doing git clone https://github.com/rajneesh44/TwitterStreamingFilter.git
  5. Install the requirements.txt : #pip install requirements.txt
#run main.py and then application.py
python main.py
python application.py

About

Making a twitter streaming filter using flask and sentiment analysis

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published