简体   繁体   English

Facebook权限和空数据处理

[英]Facebook permissions and null data handling

I have to issues I have come across with regards to Facebook Login - 我必须解决有关Facebook登录的问题-

1st being - 第一个是-

在此处输入图片说明

在此处输入图片说明

Above are 2 images of a users Facebook app settings (Facebook>>settings>>apps>>{select an app}) 上面是用户的2张图片Facebook应用程序设置(Facebook >>设置>>应用程序>> {选择一个应用程序})

As seen in the Asphalt app next to each permission is a (required) tag. 正如在“沥青”应用中所看到的,每个权限旁边是一个(必填)标记。 But incase of my app there is no (required) tag next to the email permission even though I'am explicitly asking for these perms in the javascript sdk during FB.login(). 但是,在我的应用程序的情况下,即使我在FB.login()期间明确要求javascript sdk中的这些权限,电子邮件权限旁也没有(必需)标签。 Any idea how I can get these perms to be required by default or what am I missing ?? 知道我如何才能默认获得这些烫发或我缺少什么吗?

2nd being - 第二个是-

In another case (very) few users seem to have granted all perms (that is accepted the fb app in the fb dialog box) but for some reason their public_info and/or email seems to be unchecked in the respective user settings under the app dialog/modal as in the above image. 在另一种情况下(很少),几乎没有用户授予所有权限(在fb对话框中被fb应用程序接受),但由于某种原因,似乎在应用程序对话框下的相应用户设置中未选中其public_info和/或电子邮件/ modal如上图所示。 Is this a bug? 这是错误吗?

You can set a permission as required from the App Details tab > Configure App Center Permissions 您可以根据需要从“应用程序详细信息”选项卡>“配置应用程序中心权限”设置权限

Read more about this here . 在此处阅读有关此内容的更多信息。

As for your second question, could it be the users in question revoked the permissions themselves? 至于第二个问题,可能是相关用户自己撤销了权限吗? even-though Public profile is always required so there might be a bug and hence you can report it here: https://developers.facebook.com/bugs/ 尽管始终需要公开配置文件,所以可能存在错误,因此您可以在这里报告: https : //developers.facebook.com/bugs/

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM