在iOS中没有从Facebook sdk 3.2获得出生日期

在iOS中没有从Facebook sdk 3.2获得出生日期,第1张

概述我在我的应用程序中使用了Facebook sdk 3.2,我想获取我的个人资料的所有细节,但它并没有给我生日. 我用过代码: [FBRequestConnection startForMeWithCompletionHandler:^(FBRequestConnection *connection, id<FB 我在我的应用程序中使用了Facebook sdk 3.2,我想获取我的个人资料的所有细节,但它并没有给我生日.

我用过代码:

[FBRequestConnection     startForMeWithCompletionHandler:^(FBRequestConnection *connection,ID<FBGraphUser> user,NSError *error) {         if (!error) {         }     }];

任何人都可以解释我在哪里错了吗?

任何帮助,将不胜感激.

事先提醒.

解决方法 在版本3.13之后,如果您要求public_profile,email和user_frIEnds以外的许可,那么您必须提交您的应用以供审核,否则您将无法获得它,这就是您无法获得user_birthday的原因.正如写的 here

Developers asking for more than public_profile,email,and user_frIEnds will need to submit their apps for revIEw by Facebook to approve the permissions the app will request. See the Permissions GuIDe for details. Existing apps have one year before they are required to go through revIEw,including updates to existing apps. Apps created after April 30th,2014 must go through revIEw.

总结

以上是内存溢出为你收集整理的在iOS中没有从Facebook sdk 3.2获得出生日期全部内容,希望文章能够帮你解决在iOS中没有从Facebook sdk 3.2获得出生日期所遇到的程序开发问题。

如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。

欢迎分享,转载请注明来源:内存溢出

原文地址: https://outofmemory.cn/web/1057448.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2022-05-25
下一篇 2022-05-25

发表评论

登录后才能评论

评论列表(0条)

保存