我应该在 Foursquare 还是 Facebook Places 上进行开发?

发布于 2024-09-28 08:37:55 字数 238 浏览 4 评论 0原文

我想构建一个基于位置的应用程序,因此我自然会使用现有的 API 来编写我的应用程序。但我不确定在 Foursquare(或 Gowalla)与 Facebook Places 之上进行开发的优点/缺点是什么。

注意:这并不是一场政治辩论“哪种服务更酷/更好/更性感/无论如何”,而是对使用 Facebook 平台与其他平台的利弊的真正关注。

编辑附加信息:应用程序基本上想要添加一个“钩子”,当用户在某个地方签入时运行我的一些代码

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

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

Smile简单爱 2024-10-05 08:37:55

两者都不是。您想要做的是让您的应用程序理解基于位置的社交 API 的概念。然后,在适当的位置调用外部服务并将其转换为应用程序的数据结构。这里的好处是:

a) 您可以使用更多服务。就像那些还不存在的。
b) 当 facebook 或 foursquare 改变 API 时,你的应用程序的核心不需要关心。只是直接与他们对话的部分。
c) 站起来并接受测试要容易得多,因为您可以构建内部结构,然后转身面对外部结构。

现在,您似乎正在编写更多代码才能实现这一目标,但随着代码库的发展,这种情况会很快变得非常非常快。

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.

玩物 2024-10-05 08:37:55

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

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

Advancement in cloud-based platforms-as-a-service make building location based apps much simpler these days. You don't have to rely on third party APIs or write backend code anymore. Cloud platforms like Cocoafish, kinvey and Parse integrate with your app using SDKs for whatever device you're building on, and then allow you to drop in whichever APIs you need in a sort of auto-generated backend server in the cloud.

All offer geolocation APIs for Facebook integration and integration of a gazillion other social networking platforms. It's real easy to set up and you don't necessarily need any backend coding experience.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文