The TweetControl App enables you to create a social control based on your Twitter username and a specific hashtag. This app uses the Twitter Streaming API, which gives you real-time control. You can use this app to control things or send data to external APIs by sending a ThingHTTP request. Anything that ThingHTTP can connect to, you can connect a Twitter hashtag to.
TweetControl connects to Twitter Streaming API, which listens and processes the TweetControl request each time it comes across the trigger word. It eliminates the need to continually poll Twitter for status updates.
ThingHTTP enables you to proxy-connect to anything that supports the HTTP protocol. You can set up a ThingHTTP request to call someone via Twilio’s HTTP-based API, control devices, or connect to a thermostat that accepts HTTP requests.
Link a ThingHTTP request to a Twitter hashtag.
To execute the ThingHTTP command, send a tweet from your Twitter account with a filter and your trigger hashtag.
The filter keyword must be included with your trigger to execute your TweetControl.
Filters are not case sensitive. Use these keywords to filter tweets:
This example shows how to update a ThingSpeak channel "field1" with data from Twitter with the word that triggered a TweetControl. It adds the full text of the Tweet to the “status” field of the channel.
Create a ThingHTTP to handle your request, and name it “ThingSpeak Channel Updater”
Check your ThingSpeak channel to see the new status entry.
"TweetControl" is a valid filter keyword, and "love" matches trigger.
TweetControl project ideas:
CheerLights is a project that uses TweetControl to update a ThingSpeak Channel via Twitter. Users subscribe to the ThingSpeak API, which sets the color of their lights to the last color received. Lights around the world display the same color.