Search icon CANCEL
Subscription
0
Cart icon
Close icon
You have no products in your basket yet
Save more on your purchases!
Savings automatically calculated. No voucher code required
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Internet of Things with Arduino Cookbook

You're reading from  Internet of Things with Arduino Cookbook

Product type Book
Published in Sep 2016
Publisher Packt
ISBN-13 9781785286582
Pages 188 pages
Edition 1st Edition
Languages
Concepts
Author (1):
Marco Schwartz Marco Schwartz
Profile icon Marco Schwartz

Table of Contents (14) Chapters

Internet of Things with Arduino Cookbook
Credits
About the Author
About the Reviewer
www.PacktPub.com
Preface
1. Connecting an Arduino to the Web 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:

  3. What matters is to get the application API key and app secret:

  4. You will also have to get the app access token and token secret:

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:

Let's now see how to...

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 €14.99/month. Cancel anytime}