Skip to content
Sign upLog in
Profile icon

Twitter

Verified
@twitter
Code samples, demos and templates from Twitter Developer Relations. https://twitter.com/TwitterDev
  • Tweets around the world

    Cover page
    Made with Node.js

    A 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 any location information included. 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 chooses to add 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 in order to try this demo. 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. It's free to apply for one!

    Recent comments (44)
    andypiper
    andypiper
    3 days ago

    Closing comments here for now - feel free to ask questions via the Twitter Developer Forums if needed.

    JoshuaJaeger
    JoshuaJaeger
    3 days ago

    i dont get it

    DragonProgrammer

    wow

    CrystalFern
    CrystalFern
    3 days ago

    crazy

    2539901
    2539901
    3 days ago

    TWITTER? I didnt know twitter had an account on replit. Anyway, this is nice.

Repls
Community
All Repls