Real-Time Tweets & Socket.io Project | Twitter Streaming API


Download This Video

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:
https://github.com/bradtraversy/real-time-tweet-stream

Twitter Docs:
https://developer.twitter.com/en/docs/twitter-api/tweets/filtered-stream/introduction

💖 Support The Channel!
http://www.patreon.com/traversymedia

Website & Courses:
https://www.traversymedia.com

Follow Traversy Media:

https://www.instagram.com/traversymedia
https://www.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

%d bloggers like this: