The Temboo service has moved away from Arduino support. The service access in this older guide will no longer work.

Now that you've tested the Choreo successfully, scroll down to find the Code section of the page. When you're in IoT Mode and you run a Choreo, Temboo automatically generates code that can be used to make the same API call from an Arduino sketch. Copy the code, and paste it into a new sketch in the Arduino IDE.

In order to run this sketch on your Arduino, it needs to be configured with an appropriate TembooAccount.h header file that contains your Temboo account information. To create the header file, make a new tab in the Arduino IDE, and name it TembooAccount.h.

On the Mentions Choreo page beneath the sketch code that you previously copied and pasted into the Arduino IDE, you’ll find another block of generated code containing #define statements. This is your header file. Copy the contents of the header into the TembooAccount.h tab in your Arduino IDE.

With both files in place, you are ready to searching Twitter from your Arduino. Make sure your Yún is connected to the Internet by following the directions here. Then, save and upload the sketch to the Yún and open the serial monitor; after a few seconds, the sketch will begin to run. By default we’ve set the Choreo to run ten times, executing once every thirty seconds.

This guide was first published on Feb 01, 2015. It was last updated on Feb 01, 2015.

This page (Upload and Run) was last updated on Sep 24, 2020.

Text editor powered by tinymce.