简体   繁体   English

FB iOS登录 - “应用程序必须在安装时请求basic_info权限。”

[英]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): 所以,我的问题:

  • Did this migration already expire? 此迁移是否已过期? Did it ever exist? 它曾经存在过吗?
  • Is there anything I can do to solve this while I wait for a new version to get approved by Apple? 在等待新版本获得Apple批准的同时,我能做些什么来解决这个问题?
  • Is there a way for me to temporarily force web-based authentication (like via Safari)? 有没有办法让我暂时强制进行基于Web的身份验证(比如通过Safari)?

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.

相关问题 应用程序必须在安装时请求基本读取权限。 只在原生? - The app must ask for a basic read permission at install time. Only on native? “应用程序必须在安装时请求基本的读取权限” - “The app must ask for a basic read permission at install time” ios Facebook登录名,显示“无效范围:basic_info”。 使用public_profile,user_friends代替 - ios Facebook Login showing “Invalid Scope: basic_info”. use public_profile, user_friends instead iOS Facebook登录每次都需要许可 - iOS facebook login ask for permission every time 为什么当应用程序不要求FB SDK时,iOS上的FB SDK要求获得好友列表的许可 - Why FB SDK on iOS asks for permission for Friend List, when app does not ask for it 带有地理位置网站的 Flutter iOS webview 应用程序不会请求位置权限,即使 info.plist 已调整 - Flutter iOS webview app with Geolocation website doesn't Ask For Location Permission even info.plist is adjusted 如何在Facebook登录iOS应用程序的授权中拒绝电子邮件许可,再次询问电子邮件许可 - how to ask permissions for email again if its permission is denied in authoriztion on facebook login into iOS app iOS应用不会要求位置许可 - iOS app doesn't ask for location permission 在FB.com上移除应用后,FB应用无法从iOS请求权限 - FB app fails to ask for permissions from iOS after app removed on FB.com 在iOS 8中要求获得本地通知的权限,但仍然拥有iOS 7应用程序支持 - Ask for Permission for Local Notifications in iOS 8, but still have the App Support iOS 7
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM