SimpleGeo Blog

Go to website

How to drop geo-tagged tweets into a SimpleGeo layer

Last week, we showed you how to grab all of your checkins from Foursquare, and visualize them on a SimpleGeo layer.

Pablo Estrada forked that code and created a script that imports tweets from Twitter, using the tweepy Python Twitter client.

The script is available to download on Github. The Twitter API by default only returns 20 tweets at a time. You can add the count=200 parameter to max out the request. If you wanted to grab the last 1600 tweets, you could use tweepy’s pagination functions.

Posted on Jul 15, 2010 at 9:55am

  1. rwwgeo reblogged this from simplegeo and added:
    Related RWW Links: Where 2.0: Quova...SimpleGEO Make App Building Easier
  2. simplegeo posted this
To Tumblr, Love Metalab