2

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

4

2 回答 2

1

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.

于 2010-10-19T20:34:03.843 回答
1

如今,基于云的平台即服务的进步使得构建基于位置的应用程序变得更加简单。您不必再依赖第三方 API 或编写后端代码。Cocoafish、kinvey 和 Parse 等云平台使用 SDK 与您的应用程序集成,适用于您正在构建的任何设备,然后允许您将所需的任何 API 放入云中自动生成的后端服务器中。

所有这些都为 Facebook 集成和无数其他社交网络平台的集成提供地理定位 API。它很容易设置,您不一定需要任何后端编码经验。

于 2012-01-13T09:58:54.543 回答