Traversy Media | Real-Time Tweets & Socket.io Project | Twitter Streaming API @TraversyMedia | Uploaded December 2020 | Updated October 2024, 8 hours ago.
In this project we will work with the Twitter streaming API to fetch Tweets in real-time and then use Socket.io to pipe to a webpage.
Code:
github.com/bradtraversy/real-time-tweet-stream
Twitter Docs:
developer.twitter.com/en/docs/twitter-api/tweets/filtered-stream/introduction
💖 Support The Channel!
patreon.com/traversymedia
Website & Courses:
traversymedia.com
Follow Traversy Media:
twitter.com/traversymedia
instagram.com/traversymedia
facebook.com/traversymedia
Timestamps:
0:00 - Intro
2:00 - Create App In Portal
3:22 - Dependencies & Setup
7:03 - Tweet Fields
9:03 - Get Rules
12:21 - Set Rules
14:30 - Delete Rules
17:13 - Get Tweet Streaming
21:49 - Socket.io Setup
24:40 - Create Client
28:22 - Emitting Tweets
29:50 - Client Side Socket.io
31:05 - Adding The HTML
33:00 - Add Tweets To DOM
In this project we will work with the Twitter streaming API to fetch Tweets in real-time and then use Socket.io to pipe to a webpage.
Code:
github.com/bradtraversy/real-time-tweet-stream
Twitter Docs:
developer.twitter.com/en/docs/twitter-api/tweets/filtered-stream/introduction
💖 Support The Channel!
patreon.com/traversymedia
Website & Courses:
traversymedia.com
Follow Traversy Media:
twitter.com/traversymedia
instagram.com/traversymedia
facebook.com/traversymedia
Timestamps:
0:00 - Intro
2:00 - Create App In Portal
3:22 - Dependencies & Setup
7:03 - Tweet Fields
9:03 - Get Rules
12:21 - Set Rules
14:30 - Delete Rules
17:13 - Get Tweet Streaming
21:49 - Socket.io Setup
24:40 - Create Client
28:22 - Emitting Tweets
29:50 - Client Side Socket.io
31:05 - Adding The HTML
33:00 - Add Tweets To DOM