将Facebook用户的朋友生日同步到我的xcode应用程序 [英] Sync Facebook user friends birthdays to my xcode application

查看:302
本文介绍了将Facebook用户的朋友生日同步到我的xcode应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

iOS SDK SDK入门,



错误屏幕快照:







其中我是错的吗?



任何一个请指导我,任何帮助是非常感谢!



提前:)

解决方案

在您自己的应用设置屏幕截图中查看


使用这些设置可以在App Center中显示应用程序所需的一组权限


当您看到此错误发生时,是否应用程序显示在Facebook应用中心上?否?


我脑海中出现的十亿美元的问题是我们需要实现用户登录代码吗?如果尚未登录,请将用户重定向到登录页面?


当然,您必须自己实现登录到您的应用程序。 p>

我不知道你在哪里阅读,但请坚持官方文档: https://developers.facebook.com/docs/howtos/login-with-facebook-using-ios-sdk/


Lot of confusion understanding when I googled and studied tutorials like Getting Started with the Facebook SDK for iOS ,Legacy iOS Tutorial etc.I have downloaded the FacebookSDK-3.0 as I use Xcode version of 4.2,added the sdk framework to my xcode project,then followed every step of integrating Facebook sdk in to iphone application like Facebook app id,modifying plist file,adding other linker flag etc. strictly following this link.I have included the "friends_about_me,friends_birthday" permissions to my application as shown in the below screen shot:

EDIT

I have already implemented the login part successfully

But my requirement is fetching user's friends birthdays and I have a 'Facebook Sync' button for that.Now I have searched for resources meeting/similar to my requirement.But I ran in to errors implementing the answers(sample code) suggested by assisters in posts.A sample question can be glanced here

ERROR SCREEN SHOTS:

Where am I wrong?

Can any one please guide me,any help is greatly appreciated!

Thanks all in advance :)

解决方案

Look at your own screenshot of the app settings, please:

"Use these settings to enter the set of permissions your app requires when displayed in App Center"

Is that the case, is the app displayed in Facebook app center on facebook.com when you see this error happening? No?

Also a billion dollar question that arose in my brain was 'Do we need to implement a user login code,does it not automatically redirect the user to login page if not already logged in'?

Of course you have to implement login into your app yourself.

I don’t know what you’ve read where, but please stick to the official documentation: https://developers.facebook.com/docs/howtos/login-with-facebook-using-ios-sdk/

这篇关于将Facebook用户的朋友生日同步到我的xcode应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆