Search for Tweets and download the data labeled with it's Polarity in CSV format
- Go to (https://apps.twitter.com), create development application there for API access
- Create a virtual Environment.
virtualenv venv
- Activate venv.
source venv/bin/activate
- Install the requirements.
pip install -r requirements.txt
- Save the
ACCESS_TOKEN
,ACCESS_TOKEN_SECRET
,CONSUMER_KEY
,CONSUMER_SECRET
as environment variables. You can follow this guide for Heroku (or any other online server you wish to run this upon). - Change twitter username in
app.py
atline 8
to yours(one that was used to create API access at (https://apps.twitter.com) - Run the server.
python app.py