These Node-RED flows use Twitter to introduce a variety of Node-RED visual programming techniques and simple ways to use the powerful Watson Cognitive services.
These Twitter Node-RED recipes showcase:
- A simple flow that watches a Twitter feed.
- Perform Sentiment analysis of Tweets. You could retweet positive tweets or SMS tweets to your friends
- Perform Tone analysis of Tweets using the Watson Tone Analyzer service
- Speak Tweets using the Watson Text to Speech service
- Store Tweets and Sentiment scores in a Cloudant database for historical analysis
- Build a Node-RED Dashboard that charts Twitter hashtag sentiment history
- Perform Image analysis of pictures attached to Tweets using the Watson Visual Recognition service
- Build a Nutrition Image Analysis dashboard to report the ingredients and nutritional information from the USDA
- Tweet a picture of food and use the Watson Visual Recognition custom food classifier. Great fun!
You might want to learn from the Node-RED Twitter workshop that I wrote to teach Node-RED and Watson Cognitive services. Follow the step-by-step instructions to create all of these example flows.
If you're interested in trying these Node-RED recipes, find them here:
Scroll down in this README to preview screenshots of the Node-RED flows.
With a little bit of Node-RED Dashboard magic, you can create Dashboards that look like this:
Get the Code: Node-RED flow to watch a Twitter feed
Search for positive or negative tweets. You could retweet positive tweets or SMS tweets to your friends.
Get the Code: Node-RED flow that performs Sentiment analysis of Tweets
Get the Code: Node-RED flow to perform Tone analysis of Tweets
Get the Code: Node-RED flow to Speak Tweets
. Download the flow
Get the Code: Node-RED flow to Store Tweets
Get the Code: Node-RED Dashboard flow that charts Twitter sentiment
Get the Code: Node-RED flow to perform image analysis of pictures attached to Tweets
Get the Code: Node-RED flow to plot Tweet locations
Combine all of the flows in this tutorial into one dashboard that could be used as part of a Call for Code Natural Disaster Response application that listens to Tweets from survivors who mark themselves safe.
Get the Code: Node-RED flow to plot Tweet locations of Safe Survivors
Build a Nutrition Image Analysis dashboard to report the ingredients and nutritional information from the USDA.
Get the Code: Node-RED Dashboard flow to perform image analysis of food Tweets