views:

34

answers:

1

I want to build a location based app, so naturally I am going to write my app using an existing API. But I am not sure what the pros/cons of developing on top of Foursquare (or Gowalla) vs Facebook Places.

Note: this is not intended as a political debate "which service is cooler/better/sexier/whatever" but a true concern as to the pros and cons of using the facebook platform vs the others.

Edit for additional info: the app will basically want to add a "hook" that runs some of my code when a user checks in somewhere

A: 

Neither yet both. What you want to do here is make your application understand the concept of location-based social APIs. Then, at appropriate places, make calls upon the external services and translate them into your app's data structure. Wins here are:

a) You can work with more services. Like the ones that don't exist yet. b) The core of your app does not need to care when facebook or foursquare change APIs. Just the bits that talk directly to them. c) Much easier to stand up and get tested as you can build out the internals then turn around and face the externals.

Now, it might seem that you are writing more code to get there, but that will even out really, really quickly as your codebase evolves.

Wyatt Barnett

related questions