Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Hands-on ESP32 with Arduino IDE

You're reading from   Hands-on ESP32 with Arduino IDE Unleash the power of IoT with ESP32 and build exciting projects with this practical guide

Arrow left icon
Product type Paperback
Published in Jan 2024
Publisher Packt
ISBN-13 9781837638031
Length 294 pages
Edition 1st Edition
Tools
Arrow right icon
Author (1):
Arrow left icon
Asim Zulfiqar Asim Zulfiqar
Author Profile Icon Asim Zulfiqar
Asim Zulfiqar
Arrow right icon
View More author details
Toc

Table of Contents (15) Chapters Close

Preface 1. Part 1 – Introduction: Getting Familiar with ESP32
2. Chapter 1: IoT with ESP32 using Arduino IDE FREE CHAPTER 3. Chapter 2: Connecting Sensors and Actuators with ESP32 4. Chapter 3: Interfacing Cameras and Displays with ESP32 5. Part 2 – IoT Protocols and ESP32
6. Chapter 4: Implementing Network-Based Protocols with ESP32 7. Chapter 5: Choosing the Right Data-Based Protocols for Your ESP32 Projects 8. Part 3 – Practical Implementation
9. Chapter 6: Project 1 – Smart Plant Monitoring System Using ESP32, Messaging Services, and the Twitter API 10. Chapter 7: Project 2 – Rent Out Your Parking Space 11. Chapter 8: Project 3 – Logging, Monitoring, and Controlling using ESP32 12. Chapter 9: From Arduino IDE to Advanced IoT Development – Taking the Next Steps 13. Index 14. Other Books You May Enjoy

Publishing update tweets on Twitter

Using the Twitter API and ESP32, you can easily post tweets, providing a quick and efficient way to share updates and information on Twitter. In this section, we will set up the Twitter API so that we can publish the tweets from ESP32.

Setting up the Twitter API

Firstly, we will set up the Twitter API:

  1. To publish the tweets on Twitter (now known as X), we will have to create an account. I have already created an account called @plantNeedWater:
Figure 6.21 – Twitter @PlantNeedWater account

Figure 6.21 – Twitter @PlantNeedWater account

  1. After making an account, sign up for a developer account at https://developer.twitter.com/en.
  2. Select the Free account and click on Get started:
Figure 6.22 – Twitter API plans

Figure 6.22 – Twitter API plans

  1. Click on Sign up for Free Account and then accept the agreement and policy:
Figure 6.23 – Sign up for Free Account

Figure 6.23 – Sign up for Free Account

  1. Now, you will have...
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
Banner background image