anh.do

I build apps

Copyright © 2006—2026 Anh Do 🇻🇳

View Past Tweets on Google Maps

October 3rd, 2019 · 1 min read

I wanted to view my past tweets on Google Maps just for fun. Unfortunately there’s no easy way to do it (all 1-click services are gone).

World map with pins for past tweets in Europe, Southeast Asia, and North America.

Originally tweeted on October 3, 2019

  1. Download all my tweets from Download your Twitter data: Download your Twitter data

  2. Unpack the ZIP file and open tweet.js

  3. Remove the variable assignment part

  4. Run this: jq command

You’ll need jq installed.

  1. Import the CSV into GPS Visualizer

Originally tweeted on October 3, 2019

The command from the linked gist:

jq -r '["latitude", "longitude", "elevation", "name"], (.[] | select(.retweeted == false) | select(.geo != null) | [.geo.coordinates[0], .geo.coordinates[1], 0, .full_text + "\n\n" + .created_at]) | @csv' tweet.js > tweet.csv