Skip to content
Open navbar menu
Sign UpLog In
twitter

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 (40)
    andypiper
    andypiper
    1 year 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
    1 year ago

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

    DragonProgrammer

    wow

    CrystalFern
    CrystalFern
    1 year ago

    crazy

    amanm3
    amanm3
    1 year ago

    this is so cool

    KristinaGoetz
    KristinaGoetz
    1 year ago

    make it colourful ;)

    CoderGautamYT
    CoderGautamYT
    1 year ago

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

    anirban-oss
    anirban-oss
    1 year ago

    awesome visual!

    AlfonsoPena1
    AlfonsoPena1
    1 year ago

    th

    Tedisc00l
    Tedisc00l
    1 year ago

    it don work... its just globe

All Repls