Facebook email permission ios

本小妞迷上赌 提交于 2019-12-20 06:01:08

问题


very confused - have made several apps which login with Facebook - latest one doesn't work -

in all my apps i have a FBLoginView in storyboard

then in ViewDidLoad

self.facebookLogin.readPermissions =  @[@"public_profile", @"email", @"user_friends"];


[self.facebookLogin setDelegate:self];

along with all the basic delegate methods - all the methods are called correctly

however it only seems to request public_profile and not anything else - like

2014-06-02 23:35:33.994 TheCooKPot[3997:60b] profile {
"first_name" = Karen;
gender = female;
id = 1397217637233431;
"last_name" = Shepardstein;
link = "https://www.facebook.com/app_scoped_user_id/1397217637233431/";
locale = "en_GB";
"middle_name" = Amhcefbdegja;
name = "Karen Amhcefbdegja Shepardstein";
timezone = 1;
"updated_time" = "2014-06-02T22:34:00+0000";
verified = 0;

}

unlike all my other apps which get an email address

any ideas?? have set my apps up identically in Facebook and configured the same in plist


回答1:


I guess you're using the Graph API v2.0, and your app was registered after April 30th 2014. Then, if you want to use more than the basic_profile permission, you need to get you app reviewed by Facebook.

Have a look here https://developers.facebook.com/docs/apps/review/login for a description of the process.



来源:https://stackoverflow.com/questions/24004495/facebook-email-permission-ios

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!