Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Internet of Things with Arduino Cookbook

You're reading from   Internet of Things with Arduino Cookbook Build exciting IoT projects using the Arduino platform

Arrow left icon
Product type Paperback
Published in Sep 2016
Publisher Packt
ISBN-13 9781785286582
Length 188 pages
Edition 1st Edition
Tools
Concepts
Arrow right icon
Author (1):
Arrow left icon
Marco Schwartz Marco Schwartz
Author Profile Icon Marco Schwartz
Marco Schwartz
Arrow right icon
View More author details
Toc

Table of Contents (9) Chapters Close

Preface 1. Connecting an Arduino to the Web FREE CHAPTER 2. Cloud Data Monitoring 3. Interacting with Web Services 4. Machine-to-Machine Interactions 5. Home Automation Projects 6. Fun Internet of Things Projects 7. Mobile Robot Applications Index

Tweeting from an Arduino board

In this recipe, we are going to learn how to use Temboo to tweet a message from your Arduino board. We are going to create an app on Twitter, and then see how to configure your Arduino board to send tweets from it.

Getting ready

  1. The first step is to create a Twitter account if that's not done yet, and then log in with this account at https://apps.twitter.com/.
  2. You will then be able to create a Twitter application:
    Getting ready
  3. What matters is to get the application API key and app secret:
    Getting ready
  4. You will also have to get the app access token and token secret:
    Getting ready

How to do it...

Let's now see how to configure the Arduino board. You have two choices here: either do it from the Temboo interface, or simply grab the sketch from the GitHub repository of the project.

As Temboo does not officially support the MKR1000 board at the time of writing, I recommend getting the code from the GitHub repository of this book.

The Choreo we are going to use here is called statusesUpdate:

How to do it...

Let's...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime