简体   繁体   English

iOS Facebook登录快速应用程序切换保持在Facebook App上

[英]iOS Facebook Login Fast-App Switch Stays on Facebook App

I'll preface this by saying that this bug is difficult to reproduce and I have not been able to find a pattern for when it occurs. 首先,我要说这个错误很难重现,并且我无法找到它何时发生的模式。

When a user selects the Facebook login option in my iOS app, the app fast-switches to the Facebook app, and will stay in the Facebook app on the News Feed. 当用户在我的iOS应用程序中选择Facebook登录选项时,该应用程序会快速切换到Facebook应用程序,并将停留在News Feed上的Facebook应用程序中。 Then when a user returns to my iOS app, and attempt to Facebook login again, it will fast-app switch and the login will continue as intended. 然后,当用户返回我的iOS应用并尝试再次登录Facebook时,它将快速切换应用,并且登录将按预期进行。 When this bug occurs, it always fails, and then works reliably on the following attempt. 发生此错误时,它始终会失败,然后在以下尝试中可靠地工作。

Make sure you have "fbXXXXXXXXXX:" in your plist 确保您的列表中有“ fbXXXXXXXXXX:”

XXXXXX = you app id XXXXXX =您的应用程式编号

When the app switches back it needs to know where to go, your app needs to respond to the url correctly. 当应用切换回去时,它需要知道要去哪里,您的应用需要正确响应URL。

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

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