我无法获得Facebook用户生日

时间:2015-07-31 04:58:56

标签: ios objective-c facebook

我有user_birthday权限

;WITH cte
     AS (SELECT rn=Row_number()OVER(partition BY table1b.name ORDER BY table1.IDa, table1.IDb),
                table1.IDa   AS t1_ida,
                table1.IDb   AS t1_idb,
                table1.name  AS t1_name,
                table1b.IDa  AS t2_ida,
                table1b.IDb  AS t2_idb,
                table1b.name AS t2_name
         FROM   mytable table1
                INNER JOIN mytable table1b
                        ON table1.IDa = table1b.IDa
                           AND table1.IDb = table1b.IDb)
SELECT *
FROM   cte
WHERE  rn = 1 

FBLoginView *loginView = [[FBLoginView alloc] initWithReadPermissions:@[@"public_profile",@"user_birthday", @"email", @"user_friends"]];

但生日为空

请帮助我

1 个答案:

答案 0 :(得分:0)

您是否通过Facebook审核过您的“user_birthday”权限?

除了public_profileuser_friendsemail之外的所有权限都需要首先通过Facebook审核您的应用。

查看此链接以获取更多帮助 - https://developers.facebook.com/docs/apps/review/login#do-you-need-review