Control QLab with Twitter

UPDATE 7/10/17 – Check out the contributed module from Sam Levey, with nodes to control QLab via OSC messages and a node to control node-red from QLab:

https://www.npmjs.com/package/node-red-contrib-qlab

This eliminates some steps from the method described below.

ORIGINAL:
Utilizing node-RED, QLab can respond to hash tags, text strings, etc via OSC messages and UDP packets. This is useful for audience-interactive installations, lobby displays, etc.
Dependencies:
QLab
node-RED
node-red-contrib-osc

Once the necessary software are installed, use the following to create a node-RED flow that listens for Twitter hash tags, text strings, or both, and sends OSC messages to QLab via UDP packets. You will need to enter Twitter account credentials into the Twitter In node.

I use this to trigger an AppleScript cue that selects random audio samples or ruby files (for Sonic Pi generative music).

Copy the following JSON and paste it into your node browser via Import>Clipboard. Log in with a Twitter account, define your search terms, OSC path and IP/port to see the results.