Facebook Graph API 与 iPhone SDK

发布于 2024-09-01 17:28:52 字数 220 浏览 1 评论 0原文

有人能够在本机 iPhone 应用程序中实现 Facebook 的 Graph API 吗?

当涉及到 iPhone 集成时,文档相当稀疏,但获取用户信息的调用看起来比以前使用 FBConnect 的方法要轻量得多。所以我想用它。

我看过一些帖子,但没有人解释你会像我们之前使用 FBConnect 那样实现登录按钮吗?

如果有人实现了这一点或者可以给我提供任何建议,那就太棒了

Has anyone been able to implement Facebooks Graph API in a native iPhone Application?

The documentation is pretty sparse when it comes to iPhone integration, but the calls to get users information looks a lot more light weight than the previous method of using FBConnect. So i would like to use it.

I have seen a few posts about but none explain you you would implement the login button as we did previously with FBConnect?

If any one has achieved this or can offer me any pointers that would be brilliant

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

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

发布评论

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

评论(3

蹲墙角沉默 2024-09-08 17:28:52

尝试 ShareKit
我在几个小时内就在我的应用程序中实现了共享。

Try ShareKit.
I implemented sharing in my app in few hours.

自我难过 2024-09-08 17:28:52

我目前正在使用 UIWebView 通过 Facebook 的 Graph API 进行身份验证,如此处所述。然而,这实际上并不允许与应用程序进行任何交互,例如显示加载对话框或错误消息。每当我收到 Facebook 的响应时,我都会尝试拦截 webViewDidFinishLoad ,并在出现问题时显示带有错误消息的 UIAlertView 。问题是,Facebook 已经更改了他们的 URL 之一,所以我的字符串比较不再有效。

目前我不打算在这方面投入更多时间,因为 Android 的 SDK 已经在 Google I/O 期间发布(很快就会发布),并且有传言称 iPhone SDK 将在 WWDC 期间发布。

I'm currently using a UIWebView to authenticate with Facebook's Graph API as described here. However, that doesn't really allow any interaction with the application, e.g. showing a loading dialog or error message. I tried to intercept the webViewDidFinishLoad whenever I get a response from Facebook and show an UIAlertView with an error message when something goes wrong. The problem is, that Facebook already changed one of their URLs, so my string comparisons didn't work any more.

At the moment I'm not going to invest more time into this, because a SDK for Android has already been announced during Google I/O (will be released very soon) and the iPhone SDK is rumored to be released during WWDC.

挖鼻大婶 2024-09-08 17:28:52

我目前正在使用 UIWebView 通过 Facebook 的 Graph API 进行身份验证,如下所述
http://www.mobisoftinfotech.com/blog/iphone/ iphone-fbconnect-facebook-connect-tutorial/

I'm currently using a UIWebView to authenticate with Facebook's Graph API as described
http://www.mobisoftinfotech.com/blog/iphone/iphone-fbconnect-facebook-connect-tutorial/

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