gpt4 book ai didi

facebook-ios-sdk - Trigger.io Facebook 集成 "unexpected read permissions"在某些 iOS 设备上

转载 作者:行者123 更新时间:2023-12-04 23:24:55 25 4
gpt4 key购买 nike

在 iOS 6 iPad 上,Facebook 模式权限对话框会弹出,但当接受时它似乎什么都不做。

我们的日志中出现以下错误:

Jan 16 11:57:50 CloudPad Forge[21287] <Warning>: [DEBUG] Native call: {
callid = "2CB2131C-771C-466D-9640-D1FF99AB3E4B";
method = "facebook.authorize";
params = {
dialog = 1;
permissions = (
"user_photos",
"publish_stream",
email
);
};
}
Jan 16 11:57:50 CloudPad Forge[21287] <Warning>: FBConditionalLog: FBSession: a permission request for publish or manage permissions contains unexpected read permissions

Jan 16 11:57:53 CloudPad Forge[21582] <Warning>: [DEBUG] Returning to javascript: {
callid = "EE3606FC-84D6-4F3F-8BC6-82FAF3BEC5EF";
content = {
message = "The operation couldn\U2019t be completed. (com.facebook.sdk error 2.)";
subtype = "<null>";
type = "UNEXPECTED_FAILURE";
};
status = error; }

同一个应用程序可以在不同的设备上与 Facebook auth 一起正常工作,有些是 iOS 6,有些是其他。

呸!

最佳答案

看起来您在同一个调用中请求读取( user_photosemail )和写入( publish_stream )权限 - 这在 iOS SDK 中不受支持,请参见此处:

https://developers.facebook.com/docs/howtos/ios-6/

Note, to use iOS 6 native auth, apps need change the way they request permissions from users - apps must separate their requests for read and write permissions. The Facebook SDK for iOS supports these features and helps developers use them to build apps that work on multiple iOS versions and device configurations.

关于facebook-ios-sdk - Trigger.io Facebook 集成 "unexpected read permissions"在某些 iOS 设备上,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/14369511/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com