ios - 没有从 iOS 中的 Facebook sdk 3.2 获取出生日期

标签 ios facebook

我在我的应用程序中使用了 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 - 没有从 iOS 中的 Facebook sdk 3.2 获取出生日期,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/24051858/

相关文章:

java - Facebook Messenger Android Sdk 共享 setExternalUri

facebook - 什么字符串用于在 Facebook 的 Messenger API 中创建换行符?

ios - React-Native:在项目或这些目录中找不到 React

ios - 禁用在屏幕特定区域的 uipageviewcontroller 上滑动

ios - 如何向匿名用户子集发送推送通知?

ios - 如何修复 iOS 7 状态栏的高度和宽度问题

android - Facebook 评论框未显示在 Android webview 中

Facebook 分享网址仅在第二次点击时显示预览详细信息

facebook - 分享此 Facebook 分享说明不起作用

ios - 意外发现nil tableView.registerNib