An example app to stream Tweets in real-time using the filtered stream endpoints and Tweet annotations to listen for Tweets based on your own topics of interest. See the tutorial for some real life examples of how this can be used and a step by step on how to build this app on your own.
- Twitter Developer account: if you don’t have one already, you can apply for one.
- A Twitter developer app, which can be created in your Twitter developer account.
- A bearer token from your app in the Twitter developer portal
- Set up a project to obtain access to v2 endpoints in the Twitter developer portall
- Access to the filtered stream endpoint. You will also need to activate it in the Twitter developer portal dashboard within your Twitter Developer account.
- Node.js
- Npm (This is automatically installed with Node. Make sure you have npm 5.2 or higher.)
- Npx (Included with npm 5.2 or higher)
npm install
- Your bearer token can be found from your app in the Twitter developer portal
export TWITTER_BEARER_TOKEN=<REPLACE WITH YOUR BEARER TOKEN INCLUDING ANGLE BRACKETS>
npm start
👤 Tony Vu
- Website: https://twitter.com/tonyv00
- Twitter: @tonyv00
- Github: @tonyv
Contributions, issues and feature requests are welcome!
Feel free to check issues page.
Give a ⭐️ if this project helped you!
Copyright © 2020 Tony Vu.
This project is Apache License, Version 2.0 licensed.