Updated ThingSpeak Documentation is now located in ThingSpeak Docs. For support, use the ThingSpeak Forum.


The TweetControl App allows you to create a social control based on your Twitter username and a specific hashtag. This app uses the Twitter Streaming API, so control is in real-time. 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.

Why use TweetControl? Our app connects to the Twitter Streaming API. What this means to you is that you don’t have to keep polling Twitter for status updates. You can sit back and let TweetControl listen and then process the request when a trigger word gets fired. This happens in real-time and it’s quite remarkable to see in action.

TweetControl App by ThingSpeak

Create a ThingHTTP Request

The first step is to create a ThingHTTP request. ThingHTTP allows you to proxy connection to anything that supports the HTTP protocol. You can make a ThingHTTP request that will call someone via Twilio’s HTTP-based API or control ioBridge devices  or connect to a thermostat that accepts HTTP requests.

Replacements Keys

Use these keys to access the data from a TweetControl:

  • %%status%% – This is the full text of the tweet that was received by TweetControl
  • %%trigger%% – This is the word that triggered the TweetControl to be processed

Create a TweetControl

Once you have a ThingHTTP request that you want to control, you now need to link that request to a Twitter hashtag.

  • Sign into ThingSpeak
  • Select Apps
  • Select TweetControl
  • Click Create New TweetControl
  • Check Anonymous if you want anyone to be able to trigger your TweetControl
  • Fill in your Twitter screen name if you want it tied to only one Twitter user
  • Enter a hashtag to listen for (ex. #turnlightson)
  • Select a ThingHTTP Request to execute
  • Click Create New TweetControl

Send a Tweet, Control the World

To execute the ThingHTTP command, send a Tweet from your Twitter account with a filter and your trigger hastag.

Tweet Structure:

(filter) (trigger)

It’s important to note that the filter keyword must also be present with your trigger in order for TweetControl to execute.

Sample Tweet:

#thingspeak #trigger

TweetControl Sample Tweet


Filters are not case-sensitive.

You can filter tweets with the following keywords:

  • #thingspeak
  • thingspeak
  • #tweetcontrol
  • tweetcontrol
  • #iobridge
  • iobridge
  • #cheeerlights
  • cheerlights

If you have a project that you want to use TweetControl with and want your own filter keyword, let us know and we will add it our service.


This example will update a ThingSpeak Channel with data from Twitter. It will update “field1” with the word that triggered the TweetControl and add the full text of the Tweet to the “status” field of the channel.

Create ThingHTTP Request

Name it “ThingSpeak Channel Updater”

  • URL:
  • Method: POST
  • Body: key=(ThingSpeak Write Key)&field1=%%trigger%%&status=%%status%%

Create a TweetControl

  • Check Anonymous TweetControl
  • Enter “love” in the Trigger field
  • Under ThingHTTP Action select “ThingSpeak Channel Updater”
  • Click Update TweetControl

Send a Tweet

  • Using Twitter send “I love TweetControl”.

Go check your ThingSpeak Channel feed and you should see a new entry.

The reason that “I love TweetControl” works is because “TweetControl” is a valid filter keyword, and love is a matched trigger.


You could use this for many projects.

Here are some ideas:

  • Printing Tweets with a thermal printer
  • Twitter Voting Machine
  • Twitter Controlled Toy


CheerLights by ioBridge Labs uses TweetControl to update a ThingSpeak Channel with Tweets from Twitter. Then, users subscribe to the ThingSpeak API and set the color of their lights to the last color received. All of the lights stay in sync with each other.