Repls
Community
152
Tweets around the worldA demo app that shows how to make a Twitter API request using a Bearer Token with the TypeScript SDK.
It uses the sample stream endpoint to listen for new Tweets in real-time, and plots them on a virtual globe based on location information. You can explore where Tweets are being posted right now!
The sample stream endpoint provides around 1% of Tweets posted in real-time. Not everyone on Twitter adds geo location information to their Tweets, so this demo is only able to show Tweets that do have that data included.
Note - you will need to have a Twitter Developer Account. Sign up for free!
Note - if no blue pins show up after a few moments, you might need to fork the repl and add your own Twitter API bearer token to get the Tweets flowing.
Explore more repls on our team page
Check out the public conversation
Thanks for checking out where in the world people are Tweeting from! You can also explore more repls on our team page.6.2K
42
152
3
Get Twitter video URL from TweetUses the Twitter TypeScript SDK to get a Tweet with video and list the video URLs. Requires a Twitter API BEARER_TOKEN for a v2 App.
52
2
3
1
DevTo API exampleAn example of getting data from the DEVAPI to display its own articles. Source code is based on @thomasbnt's Open Source example on GitHub. Follow me on DEV :-)
12
1
1