An open API service indexing awesome lists of open source software.

https://github.com/johnwalicki/node-red-twitter-workshop

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.
https://github.com/johnwalicki/node-red-twitter-workshop

image-analysis node-red-flow twitter-flow watson-visual-recognition

Last synced: 2 months ago
JSON representation

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.

Awesome Lists containing this project

README

        

# Node-RED Twitter Workshop
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](https://console.bluemix.net/docs/services/tone-analyzer/getting-started.html#getting-started-tutorial) service
* Speak Tweets using the [Watson Text to Speech](https://console.bluemix.net/docs/services/text-to-speech/getting-started.html#gettingStarted) service
* Store Tweets and Sentiment scores in a [Cloudant database](https://console.bluemix.net/docs/services/Cloudant/getting-started.html#getting-started-with-cloudant) 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](https://console.bluemix.net/docs/services/visual-recognition/getting-started.html#getting-started-tutorial) service
* Build a Nutrition Image Analysis dashboard to report the ingredients and nutritional information from the [USDA](https://ndb.nal.usda.gov/ndb/doc/index#)
* Tweet a picture of food and use the [Watson Visual Recognition](https://console.bluemix.net/docs/services/visual-recognition/getting-started.html#getting-started-tutorial) custom [food classifier](https://www.ibm.com/blogs/bluemix/2017/05/watson-learns-see-food-introducing-watson-visual-recognition-food-model/). 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](/flows).

If you're interested in trying these Node-RED recipes, find them [here](/flows):

Scroll down in this README to preview [screenshots](/screenshots) of the Node-RED flows.

With a little bit of Node-RED Dashboard magic, you can create Dashboards that look like this:
![Nutrition Twitter Dashboard Screenshot](/screenshots/Node-RED-Twitter-TweetNutritionAnalyzer-Dashboard.png?raw=true "Nutrition Twitter Image Analyzer Dashboard")

## Node-RED flows in this repository:
---
### A simple flow that watches a Twitter feed

![Simple Twitter flow](/screenshots/Node-RED-Twitter-TweetSimple.png?raw=true "Simple Twitter flow")


Get the Code: Node-RED flow to watch a Twitter feed

---
### Perform Sentiment analysis of Tweets

Search for positive or negative tweets. You could retweet positive tweets or SMS tweets to your friends.
![Sentiment Twitter flow](/screenshots/Node-RED-Twitter-TweetSentiment.png?raw=true "Sentiment Twitter flow")


Get the Code: Node-RED flow that performs Sentiment analysis of Tweets

---
### Perform Tone analysis of Tweets using the Watson Tone Analyzer service

![Watson Tone Analyzer Twitter flow](/screenshots/Node-RED-Twitter-TweetTone.png?raw=true "Watson Tone Analysis Twitter flow")


Get the Code: Node-RED flow to perform Tone analysis of Tweets

---
### Speak Tweets using the Watson Text to Speech service.

![Watson Speech to Text Twitter flow](/screenshots/Node-RED-Twitter-TweetSpeak.png?raw=true "Watson Speech to Text Twitter flow")


Get the Code: Node-RED flow to Speak Tweets

---

### Store Tweets in a Cloudant database for historical analysis
. Download the [flow](/flows/Tweet-Store.json)
![Store Tweets in Cloudant flow](/screenshots/Node-RED-Twitter-StoreTweet.png?raw=true "Store Tweets in Cloudant flow")


Get the Code: Node-RED flow to Store Tweets

---
### Build a Node-RED Dashboard that charts Twitter hashtag sentiment history

![Twitter Sentiment History Dashboard Screenshot](/screenshots/Node-RED-Twitter-TweetSentiment-Dashboard.png?raw=true "Twitter Sentiment History Dashboard")

![Twitter Dashboard flow](/screenshots/Node-RED-Twitter-TweetDashboard.png?raw=true "Twitter Sentiment History Dashboard flow")


Get the Code: Node-RED Dashboard flow that charts Twitter sentiment

---
### Perform Image analysis of pictures attached to Tweets using the Watson Visual Recognition service

![Twitter Image Analysis Dashboard Screenshot](/screenshots/Node-RED-Twitter-TweetImageAnalyzer-Dashboard.png?raw=true "Twitter Image Analyzer Dashboard")

![Watson Visual Recognition Image Analysis Twitter flow](/screenshots/Node-RED-Twitter-TweetImageAnalyzer.png?raw=true "Watson Visual Recognition Image Analysis Twitter flow")


Get the Code: Node-RED flow to perform image analysis of pictures attached to Tweets

---
### Plot location of Tweets on a Map

![Mapbox WorldMap Twitter Dashboard](/screenshots/Node-RED-Twitter-TweetWorldMap-Dashboard.png?raw=true "Node-RED Mapbox WorldMap Dashboard")
![Mapbox WorldMap Twitter flow](/screenshots/Node-RED-Twitter-TweetWorldMap.png?raw=true "Node-RED Mapbox WorldMap flow")


Get the Code: Node-RED flow to plot Tweet locations

---
### Build a Call for Code Natural Disaster Twitter Analyzer

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.

![Call for Code Safe Twitter Dashboard](/screenshots/Node-RED-Twitter-TweetCallforCode-Dashboard.png?raw=true "Node-RED Call for Code Safe Dashboard")
![Call for Code Safe Twitter flow](/screenshots/Node-RED-Twitter-TweetCallforCode.png?raw=true "Node-RED Call for Code flow")


Get the Code: Node-RED flow to plot Tweet locations of Safe Survivors

---

### Build a Nutrition Image Analysis dashboard

Build a Nutrition Image Analysis dashboard to report the ingredients and nutritional information from the USDA.

![Nutrition Twitter Dashboard Screenshot](/screenshots/Node-RED-Twitter-TweetNutritionAnalyzer-Dashboard.png?raw=true "Nutrition Twitter Image Analyzer Dashboard")

![Nutrition Food Image Analysis Twitter flow](/screenshots/Node-RED-Twitter-TweetNutritionAnalyzer.png?raw=true "Nutrition Food Image Analysis Twitter flow")


Get the Code: Node-RED Dashboard flow to perform image analysis of food Tweets

---