Skip to content
Open navbar menu
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 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

    Recent comments (42)
    andypiper
    andypiper
    8 months ago

    Thanks for checking out where in the world people are Tweeting from! You can also

    explore more repls on our team page
    .

    andypiper
    andypiper
    8 months ago

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

    DragonProgrammer
    DragonProgrammer
    8 months ago

    wow

    CrystalFern
    CrystalFern
    8 months ago

    crazy

    amanm3
    amanm3
    8 months ago

    this is so cool

    amazingdude33
    amazingdude33
    8 months ago

    this is awsome!

    KristinaGoetz
    KristinaGoetz
    8 months ago

    make it colourful ;)

    CoderGautamYT
    CoderGautamYT
    8 months ago

    nice job didn't expect actual twitter to post a repl to community lol

    viasenyap
    viasenyap
    8 months ago

    this is awesome!

    anirban-oss
    anirban-oss
    8 months ago

    awesome visual!

Repls
Community
All Repls