简体   繁体   English

使用“添加到首页”屏幕时,iOS HTML5应用程序Facebook登录失败

[英]IOS HTML5 app Facebook Login failure when 'Add to Home' screen used

I have been working on a website that has a mobile version. 我一直在一个具有移动版本的网站上工作。 Integrated into the site is a bit of code that allows users with FB to register without having to fill out a form. 该站点中集成了一些代码,允许具有FB的用户注册而无需填写表格。 If the user meets any of the following conditions all is well 如果用户满足以下任一条件,则一切正常

  • Uses ANY desktop browser 使用任何桌面浏览器
  • Users ANY mobile browser 用户任何移动浏览器

The FB just works. FB正常工作。 However as soon as I do an 'Add to Homescreen' with IOS to make the app look and perform like a native app, when anyone uses the FB signup I get the 但是,一旦我使用IOS执行“添加到主屏幕”以使应用外观和性能像本机应用一样,当任何人使用FB注册时,我都会获得

'Given URL is not permitted by the application configuration: One or more of the given URL's is not allowed by the Apps settings. “应用程序配置不允许使用URL:应用程序设置不允许使用一个或多个给定URL。 It must match the Website URL or the Canvas URL, or the domain must be a subdomain of one of the App domains' 它必须与网站URL或Canvas URL匹配,或者该域必须是App域之一的子域。

I am assuming that once you use the add to home screen, and the app gets its own instanced browser, the URL changes, likely some form of localhost derivation maybe? 我假设一旦您使用添加到主屏幕,并且该应用获得了自己的实例化浏览器,URL就会发生变化,可能是某种形式的本地主机派生?

I can't find any definitive answers to fixing this, and was wondering if anyone else had experienced this HTML5 IOS app problem? 我找不到解决此问题的明确答案,并且想知道是否有人遇到过此HTML5 IOS应用程序问题?

看来我正在使用的扩展程序的开发人员将在不同的身份验证流程上工作,因此不再给它更多的开发时间

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

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