Twitter Stream Listener, Sentiment Analyzer, SNS Publisher
- The program listens to random sample of all public statuses using twitter streaming API.
- It adds the tweets containing location information to Amazon SQS for processing.
- Another thread periodically retrieves these tweets from SQS for sentiment analysis on the text of these tweets.
- It uses Alchemy API for sentiment analysis.
Note: add 'api_key.txt' with your API key from Alchemy.
- It publishes the tweet's text and location along with the sentiment to all the endpoints subscribed to AWS SNS topic.