Skip to main content.

Subscribe

 

View News by Category


Monthly Archives

     

    « Photobucket Releases Public API | 3000 Mashups »

    Twitter API Goes Geo

    Thanks to some new API updates, one can now update the Location field in a Twitter user’s profile using the Twitter API. As Ryan Sarver writes on his blog:

    Location updates currently aren’t normalized or geocoded, but the ability to update it on the fly allows for some very cool possibilities when it comes to geo-based tweeting — especially in apps like Twinkle [an iPhone app] and Twittervision.

    This update has now been reflected in the official API Documentation. For example, the following curl command will update your location (where USER and PASSWORD are your Twitter username and password):

    curl -u USER:PASSWORD -d location="Berkeley, CA"
    http://twitter.com/account/update_location.json

    Note that the location field is limited to 30 bytes when encoded in UTF-8. Hence, a long address such as “2855 Telegraph Ave., Berkeley, CA.” will be truncated as “2855 Telegraph Ave., Berkeley,”.

    It will be interesting to see how this ability to programmatically change a user location will be used in practice. In addition to using this location field to display tweets on a Google map, Twittervision (profile) has been promoting a way to update one’s location right within a tweet, by embedding a location such as L: Berkeley, CA. What will Twitter programmers and users use to update their location: the profile location, individual tweets, both, or neither?

    Meanwhile the Twitter API continues to provide us with a steady stream of very useful and interesting mashups, with 46 Twitter apps listed here so far, including recent entries like the straightforward Twitterwatch that lets you see all the latest twitters as they are sent (full profile here).

    « home | May 2nd, 2008 | Posted by Raymond Yee in Mapping, Social

    5 Responses to “Twitter API Goes Geo”
    1. Hmm, I thought twitter already did this. I’m using http://brightkite.com which has already been updating my twitter locations using some sort of api. I wonder what is different about this one…

    2. […] (via) « MyBlogLog ist OpenID-Profider […]

    3. Charlie — I’m not familiar with brightkite.com. It’s possible that brightkite.com didn’t/doesn’t use the API to update twitter locations. However, http://snurl.com/26swh shows that the location update functionality in the Twitter API is new — or at least new to the public.

    4. Makes http://twitteratlas.com/ a little bit cooler.

    5. […] Programmable Web) Filed under Code, Reference | var disqus_url = ‘http://www.twitterholics.com/?p=492 ‘; […]

     

    Leave a Reply

    Our Sponsors

    StrikeIron. 100+ web services. Build Something.Do less : achieve more. BT Web21C SDKBuild mashups at openkapowGet apps. Get paid. Userplane Money.Graphing Social Patterns East, June 9-11, Washington DCBEA - Web 2.0 for BusinessGot Maps? Make money with Lat49Thumbplay: Add Mobile to Your Apps
    Develop and deploy. Wicked, Fast, Free. BungeeConnect
    eBay Developers Conference 2008

    Member of
    Web 2.0 Workgroup

     

     
    Close
    E-mail It