简体   繁体   English

iPad Safari主屏幕网站陷入Facebook登录

[英]iPad Safari Home Screen website gets stuck on Facebook Login

I have a website that uses the JavaScript SDK, and I have a facebook login button that calls FB.login() that opens a new tab for the user to log in. 我有一个使用JavaScript SDK的网站,我有一个调用FB.login()的facebook登录按钮,为用户打开一个新标签。

This website is optimized for the iPad, and I made a home screen entry for this website so it could be viewed in full screen, like how this article mentions it: http://www.viaboxxsystems.de/html-fullscreen-apps-for-the-ipad 这个网站针对iPad进行了优化,我为这个网站制作了一个主屏幕条目,因此可以全屏查看,就像本文提到的那样: http//www.viaboxxsystems.de/html-fullscreen-apps-换了,iPad的

My problem is that only in the home-screen-launched, fullscreen version, when I click on the login button, either I see a white screen, or I get the login details screen (but in that case, clicking "Log In" also results in a white screen), and thus I get to a dead end. 我的问题是,只有在主屏幕启动的全屏版本中,当我点击登录按钮时,我看到白屏,或者我得到登录详细信息屏幕(但在这种情况下,单击“登录”也导致白屏),因此我走到了死胡同。

How do I make it so the Facebook login goes through and I get redirected back to my website successfully? 我怎么做到这样Facebook登录通过,我成功地重定向回我的网站?

Apple's documentation for this says, Apple的文档说,

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. 当您使用此独立模式时,Safari不会用于显示Web内容 - 具体而言,屏幕顶部或屏幕底部的按钮栏没有浏览器URL文本字段。

Sounds to me like this might also affect the ability to open popups. 听起来像这样也可能影响打开弹出窗口的能力。 If that's the case, you could maybe use the server-side authentication flow instead. 如果是这种情况,您可以使用服务器端身份验证流程。

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

相关问题 在Safari浏览器上使用ios 9.1添加到主屏幕图标不会填充在Ipad上 - Add to Home Screen icon not populating on Ipad with ios 9.1 on safari browser 保存到主屏幕的Safari网页停留在独立模式下 - Safari web page saved to home screen stuck in standalone mode Facebook mbasic 站点、移动 Safari、主屏幕快捷方式和本地存储 - Facebook mbasic site, mobile safari, home screen shortcuts and local storage Facebook登录卡住了 - Facebook login stuck iOS Safari:点击结束后点击突出显示(-webkit-tap-highlight)卡在屏幕上 - iOS Safari: tap highlight (-webkit-tap-highlight) gets stuck on screen after tap end SplitView Ipad中的登录屏幕 - Login Screen in SplitView Ipad iOS-在ipad待机状态下,我的应用程序卡住了 - iOS - On ipad standby my application gets stuck 尝试使用 Apple Music 登录时,MusicKit 卡在加载屏幕上(用于媒体控制) - MusicKit gets stuck on the loading screen when trying to login with Apple Music (for media contols) 手机Safari中,网站添加到主屏,页面导航时上下显示灰条,如何全屏显示? - In mobile Safari, website added to Home screen, shows gray bars on the top and bottom when navigating pages, how to make it full screen? iPad Safari和Chrome上的Facebook嵌入式帖子问题 - Facebook Embedded Posts issue on iPad Safari and Chrome
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM