Facebook Places API Goes Read/Write, Adds Venue Search

Adam DuVander
Nov. 03 2010, 03:30PM EDT

Facebook is taking another big reach toward location sharing with its latest update to its Places API. When the platform launched in August, we wrote that it was "read only for now." Now all developers can, with users' permission, share their locations on Facebook. And, perhaps more exciting, Facebook has opened up its venue database to help out.

Several of Facebook's launch partners in August, such as Foursquare and Gowalla, had early access to the write API that launches today. Just as other applications can already set Facebook status, for example, now they can create a "check in," sharing with friends where you are.

An application usually gets a user's location by requesting the latitude and longitude from the user's machine. Typically this means GPS in a mobile phone, but it can also come from other sources, such as cell tower and WiFi. The coordinates aren't as useful to humans as a place, which is why Facebook is also sharing its venue database, the list of places it provides to its users. Developers can now search the venue database with a user's location.

Based on the screen capture above from ReadWriteWeb's liveblog of the announcement, it appears that Facebook does not provide a search by venue name. This is similar to the Google Places API, which appears to be built explicitly for the "check-in" use case.

Along with lacking the ability to search by place name, developers also cannot create venues using Facebook's new API. This feature has helped Foursquare create its rich venue database. Facebook appears concerned with keeping its database clean, with only real venues included. Nevertheless, things move quickly and Facebook can't be everywhere without giving its users (and the users of its developers' apps) the opportunity to expand the database.

Adam DuVander Hi! I'm Developer Communications Director for SendGrid and former Executive Editor of ProgrammableWeb. I currently serve as a Contributing Editor. If you have API news, or are interested in writing for ProgrammableWeb, please contact editor@programmableweb.com Though I'm a fan of anything API-related, my particular interest is in mapping. I've published a how-to book, Map Scripting 101, to get anyone started making maps on websites. In a not-so-distant past life I wrote for Wired and Webmonkey.



[...] a read-only API for Places to all but a few select partners from the feature’s launch until opening write access to all last month. Now foursquare is the one playing catch-up, dropping XML support and joining its two competitors [...]