Facebook电子邮件权限ios [英] Facebook email permission ios
问题描述
非常困惑 - 已经有几个使用Facebook登录的应用程序 - 最新的应用程序不起作用 -
在我所有的应用程序中,我在故事板中有一个FBLoginView
然后在ViewDidLoad中
self.facebookLogin.readPermissions = @ [@public_profile ,@email,@user_friends];
[self.facebookLogin setDelegate:self];
以及所有基本的委托方法 - 所有方法都正确调用
然而,它似乎只是要求public_profile而不是其他任何东西 - 比如
2014-06-02 23:35:33.994 TheCooKPot [3997:60b]个人资料{
first_name= Karen;
gender = female;
id = 1397217637233431;
last_name=谢泼德斯坦;
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;
}
其中有一个电子邮件地址
任何想法?在Facebook上设置我的应用程序相同,并且在plist中配置相同。
我猜你使用的是Graph API v2。 0,并且您的应用程序在2014年4月30日之后注册。然后,如果要使用超过 basic_profile
权限的权限,则需要通过Facebook审查您的应用程序。 p>
看看这里 https:// developers.facebook.com/docs/apps/review/login ,以了解该过程的描述。
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
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.
这篇关于Facebook电子邮件权限ios的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!