使用 swift for iphone 的 Facebook 集成授权错误?
Facebook integration authorization error using swift for iphone?
我正在尝试通过 facebook sdk 4.15 添加登录功能。我遵循了 facebook sdk 开发人员说明,但出现错误..
-canOpenURL: failed for URL: "fbauth2:/" - error: "(null)"
canOpenURL: failed for URL: "fbauth2:/" - error: "(null)"
Failed to get remote view controller with error: Error
Domain=_UIViewServiceInterfaceErrorDomain Code=0 "(null)" UserInfo=
{OriginalError=Error Domain=FBSOpenApplicationErrorDomain Code=3 "(null)"}
已编辑
我已经尝试过很多次编辑。现在工作正常但仍然有两条消息
canOpenURL: failed for URL: "fbauth2:/" - error: "(null)"
canOpenURL: failed for URL: "fbauth2:/" - error: "(null)"
为什么会这样?
canOpenURL: failed for URL: "fbauth2:/" - error: "(null)"
canOpenURL: failed for URL: "fbauth2:/" - error: "(null)"
这意味着不允许您的应用查询 fbauth2:/。添加 fbauth2:/ 在 LSAPPLICATIONQUERIESSCHEMES.https://developer.apple.com/library/content/documentation/General/Reference/InfoPlistKeyReference/Articles/LaunchServicesKeys.html
我正在尝试通过 facebook sdk 4.15 添加登录功能。我遵循了 facebook sdk 开发人员说明,但出现错误..
-canOpenURL: failed for URL: "fbauth2:/" - error: "(null)"
canOpenURL: failed for URL: "fbauth2:/" - error: "(null)"
Failed to get remote view controller with error: Error
Domain=_UIViewServiceInterfaceErrorDomain Code=0 "(null)" UserInfo=
{OriginalError=Error Domain=FBSOpenApplicationErrorDomain Code=3 "(null)"}
已编辑 我已经尝试过很多次编辑。现在工作正常但仍然有两条消息
canOpenURL: failed for URL: "fbauth2:/" - error: "(null)"
canOpenURL: failed for URL: "fbauth2:/" - error: "(null)"
为什么会这样?
canOpenURL: failed for URL: "fbauth2:/" - error: "(null)"
canOpenURL: failed for URL: "fbauth2:/" - error: "(null)"
这意味着不允许您的应用查询 fbauth2:/。添加 fbauth2:/ 在 LSAPPLICATIONQUERIESSCHEMES.https://developer.apple.com/library/content/documentation/General/Reference/InfoPlistKeyReference/Articles/LaunchServicesKeys.html