[英]FB iOS Login - “The app must ask for a basic_info permission at install time.”
I have an app in the AppStore with has calls to to openActiveSessionWithReadPermission that look like this: 我在AppStore中有一个应用程序,调用openActiveSessionWithReadPermission,如下所示:
[FBSession openActiveSessionWithReadPermissions:@[@"email"]
allowLoginUI:YES
completionHandler:^(FBSession *session, FBSessionState state, NSError *error) {
[self sessionStateChanged:session state:state error:error];
}];
The SDK version is 3.5. SDK版本为3.5。 When upgrading to this newest version, I missed a key change in the login API which requires @"basic_info" to be requested in the readPermissions array.
升级到这个最新版本时,我错过了登录API中的一个关键更改,它需要在readPermissions数组中请求@“basic_info”。 It isn't implicit any more.
它不再是隐含的。
It wasn't listed in the updgrade guide , but I did find a small help box in the 'Technical Guide' that talks about it. 它没有在升级指南中列出,但我确实在“技术指南”中找到了一个小的帮助框来讨论它。
You may receive Developer Alerts if your app doesn't request basic_info when requesting permissions from new users.
如果您的应用在请求新用户的权限时未请求basic_info,您可能会收到开发者提醒。 In this case, your app isn't eligible to use the Facebook app native Login dialog.
在这种情况下,您的应用程序无法使用Facebook应用程序本机登录对话框。 To stop receiving these alerts and take advantage of this dialog, request basic_info for all new users and then visit your App Dashboard's Advanced settings to enable this migration: ''Specify basic_info for iOS login dialog''.
要停止接收这些警报并利用此对话框,请为所有新用户请求basic_info,然后访问App Dashboard的高级设置以启用此迁移:''为iOS登录对话框指定basic_info''。
I see no such migration in my app settings for 'Specify basic_info for iOS login dialog.' 我在“为iOS登录对话框指定basic_info”的应用设置中看不到此类迁移。
So, my question(s): 所以,我的问题:
I have the simple fix (include @"basic_info"), but looking for a patch to hold me over for a week or so. 我有一个简单的修复(包括@“basic_info”),但是找一个补丁让我抱了一个星期左右。
Interestingly, people who connect via the iOS native FB auth thing don't experience the issue. 有趣的是,通过iOS本机FB auth连接的人不会遇到此问题。 It's only for people connecting through the FB native app.
它仅适用于通过FB原生应用程序连接的人员。
I work at FB on the platform product team and can help get this fixed for you without an update to your app. 我在平台产品团队的FB工作,可以帮助您修复此问题,而无需更新您的应用程序。
We had to fix a (very unfortunate) bug that changed the behavior of the new native Login Dialog. 我们必须修复一个(非常不幸的)错误,它改变了新的本地登录对话框的行为。 Apps need to pass @"basic_info" in the permission list for the dialog to display correctly.
应用程序需要在权限列表中传递@“basic_info”才能正确显示对话框。 For apps that made it into the store before this fix, we can make a server-side change to fix this for you.
对于在此修复之前进入商店的应用程序,我们可以进行服务器端更改以便为您解决此问题。
When you get a chance, send me a Facebook message with your app ID. 如果有机会,请发送带有您的应用ID的Facebook消息。
Sincere apologies that your app is running into this. 真诚的道歉,你的应用程序正在运行。
Thanks, Eddie 谢谢,艾迪
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.