添加“新” Facebook 连接到 iPhone 应用程序
我不久前实现了 FaceBook 连接,看起来有一个新的 api。
实施上有哪些变化或者有哪些差异?
“旧”的还能用吗?
I implemented FaceBook connect a while back and it looks like there is a new api.
What are the changes in implementation or what are the differences?
Can the "old" one be used?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我一个月前最近开发了一个应用程序,并使用了旧的连接 API,我已经将其集成到我之前的应用程序中,但它无法在 iOS4.1 的 ipod touch 上运行(实际上我的客户有此设备)。除了这个之外的所有其他设备.. 然后我转向更新的 Graph API,然后它也开始在 iPod Touch 上工作.. 所以我建议使用最新的 API... 这里有一个很好的教程:
http://www.raywenderlich.com/1626/how-to-post-to-a-users-wall-upload-photos-and-add-a-like-button-from -你的iPhone应用程序
本教程将向您展示如何在 Facebook 上异步发布图片,并且那里还提供其他有用的教程。
I recently developed an app a month ago and used old connect API in it which i've already integrated in my earlier apps, but it's not working on ipod touch with iOS4.1 (actually my client had this device).. It's working on every other device except this one.. So then I moved to newer Graph API and then it started working on the iPod Touch too.. So i recommend to go with the latest API... There's a nice tutorial available here:
http://www.raywenderlich.com/1626/how-to-post-to-a-users-wall-upload-photos-and-add-a-like-button-from-your-iphone-app
This tutorial will show you how to post pictures asynchronously on Facebook and other useful tutorials are available there too.
新版本添加了 SSO(单点登录),可跨应用程序存储 Facebook 登录凭据,因此用户无需在每个应用程序中登录 Facebook。
我认为这是主要的变化。
http://developers.facebook.com/docs/guides/mobile/
您可以还是用旧的。
The new one adds SSO (Single Sign-On) which stores facebook login credentials across the apps, so the user does not need to login on Facebook in each app.
I think that is the main change.
http://developers.facebook.com/docs/guides/mobile/
You can still use the old one.