我有一个使用 JavaScript SDK 的网站,我有一个调用 FB.login()
的 facebook 登录按钮,它会打开一个新选项卡供用户登录。
这个网站针对 iPad 进行了优化,我为这个网站做了一个主屏幕入口,这样它就可以全屏查看,就像这篇文章提到的那样: http://www.viaboxxsystems.de/html-fullscreen-apps-for-the-ipad
我的问题是,只有在主屏幕启动的全屏版本中,当我点击登录按钮时,要么看到白屏,要么进入登录详细信息屏幕(但在这种情况下,点击“登录” In"也会导致白屏),因此我进入了死胡同。
如何才能成功登录 Facebook 并成功重定向回我的网站?
最佳答案
When you use this standalone mode, Safari is not used to display the web content—specifically, there is no browser URL text field at the top of the screen or button bar at the bottom of the screen.
在我看来,这可能也会影响打开弹出窗口的能力。如果是这种情况,您可以改用服务器端身份验证流程。
关于ios - iPad Safari 主屏幕网站卡在 Facebook 登录上,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/11247333/