[英]-canOpenURL: failed for URL: “fbauth2:/” - error: “(null)” for ios 9 (swift)
I have seen many problems like my question.And i have tried all solution .but i am getting this same problem. 我已经看到很多问题,例如我的问题。我已经尝试了所有解决方案。但是我遇到了同样的问题。
My Problem: 我的问题:
when i click facebook login button ,its opening in safari and with in some seconds my page went off and return to facebook login button 当我单击Facebook登录按钮时,它在Safari中打开,并在几秒钟后我的页面关闭并返回到Facebook登录按钮
In both simulator and device i am getting this problem 在模拟器和设备中我都遇到了这个问题
My warning: 我的警告:
-canOpenURL: failed for URL: "fbauth2:/" - error: "(null)"
Here is my.plist : 这是my.plist:
How to fix this problem ! 如何解决这个问题!
I also updated my plist with fbapi,fbauth string alone.But that time also not able to resolve my problem 我也仅使用fbapi,fbauth字符串更新了我的plist。但是那个时候也无法解决我的问题
I think it all about the Facebook SDK
. 我认为这与Facebook SDK
。 I also face this problem .So my suggestion is to use the latest Facebook SDK
.If you are using only for login means - you can add coreKit
, LoginKit
and use fbauth2
alone for your problem.No need to add others items.Latest Facebook SDK . 我也面临这个问题。所以我的建议是使用latest Facebook SDK
。如果您仅用于登录方式-您可以添加coreKit
, LoginKit
并单独使用fbauth2
解决问题。无需添加其他项目。 最新的Facebook SDK 。 Or try to use the V4.6.0 SDK.Here is the link Older SDK 或者尝试使用V4.6.0 SDK。以下是旧版SDK的链接
Hope this help 希望有帮助
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.