Hosted on Heroku, in a unix container, this app is a sentiment analysis Twitter bot. It takes in a request on twitter and returns a sentiment analysis of the last 500 tweets of the queried twitter account. That data is rendered visually in a line chart.
In this activity, more challenging than the last, I will build a Twitter bot that sends out visualized sentiment analysis of a Twitter account’s recent tweets.
The bot receives tweets via mentions and in turn performs sentiment analysis on the most recent twitter account specified in the mention
For example, when a user tweets, “@PlotBot Analyze: @CNN,” it will trigger a sentiment analysis on the CNN twitter feed.
A plot from the sentiment analysis is then tweeted to the PlotBot’s twitter feed. See below for examples of scatter plots you will generate:
Hints, requirements, and considerations: