Twitter Account Sentiment Analysis uses nltk Sentiment Analysis to see the sentiment in a users past 500 tweets.
Make sure python is installed
Open cmd and run this command:
pip install -r requirements.txt
- Create a new text file
- Go to https://developer.twitter.com/ and create an account
- Create a new app
- Find the API keys
- Add this to the text file:
key1 = 'consumer_token'
key2 = 'consumer_secret'
key3 = 'access_token'
key4 = 'access_secret
- Rename the file to
.env
Open main.py