简体   繁体   English

无法加载 URL:此 URL 的域未包含在应用程序的域中。 为了能够加载这个 URL... Codeigniter

[英]Can't Load URL: The domain of this URL isn't included in the app's domains. To be able to load this URL… Codeigniter

I am trying to log in with facebook application using codeigniter php.我正在尝试使用 codeigniter php 登录 Facebook 应用程序。 I am getting error:我收到错误:

Warning Can't Load URL: The domain of this URL isn't included in the app's domains.警告无法加载 URL:此 URL 的域未包含在应用程序的域中。 To be able to load this URL, add all domains and subdomains of your app to the App Domains field in your app settings.为了能够加载此 URL,请将您应用的所有域和子域添加到应用设置中的“应用域”字段。

I have done some research and I think my Valid OAuth Redirect URIs in Facebook application is wrong/invalid.我做了一些研究,我认为 Facebook 应用程序中的有效 OAuth 重定向 URI 是错误/无效的。 Can someone guide me how to solve this issue?有人可以指导我如何解决这个问题吗?

Here is the image of my link这是我的链接图片

这是我的链接图片

It was confirmed on Facebook's bug platform that they had made some changes to the the default settings for new Apps and now Strict Mode is automatically enabled for the oAuth settings.Strict mode means that when using Facebook login to connect your application or website to the App, the oAuth redirect URL has to be explicitly set, where as before it didn't.在 Facebook 的 bug 平台上确认他们对新应用程序的默认设置进行了一些更改,现在为 oAuth 设置自动启用了严格模式。 严格模式意味着当使用 Facebook 登录将您的应用程序或网站连接到应用程序时, oAuth 重定向 URL 必须明确设置,而以前没有。

So, here is the step to fix it:所以,这是修复它的步骤:

  1. Go to http://developers.facebook.com/apps/ and select the app you wish to fix.转到http://developers.facebook.com/apps/并选择您要修复的应用程序。

  2. At the bottom of the left hand menu click + Add Product link.在左侧菜单的底部单击+ 添加产品链接。

  3. Select Facebook Login as the Product.选择 Facebook 登录作为产品。

  4. Select Web.选择网络。

  5. Enter your Site URL and hit save .输入您的站点 URL并点击保存

  6. Hit Continue then keep clicking Next, ignoring all the code, until you get to Step 5. ​点击继续,然后继续点击下一步,忽略所有代码,直到进入第 5 步。

  7. In the left hand menu you should now see Facebook Login, click the Settings menu item underneath it.在左侧菜单中,您现在应该看到 Facebook 登录,单击其下方的设置菜单项。

  8. Under Client oAuth settings, where it says Use Strict Mode for Redirect URIs make sure it's set to No and that your site URL is in the Valid OAuth redirect URIs box.在客户端 oAuth 设置下,使用严格模式重定向 URI确保将其设置为,并且您的站点 URL 位于有效 OAuth 重定向 URI 框中。 Then the hit save .然后点击保存

  9. ​You should now be able to connect your app as normal.您现在应该可以正常连接您的应用了。

Hope it will fix your problem.希望它能解决你的问题。

暂无
暂无

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

相关问题 Facebook 显示错误:无法加载 URL:此 URL 的域未包含在应用程序的域中 - Facebook showing error: Can't Load URL: The domain of this URL isn't included in the app's domains Facebook Auth:无法加载URL:此URL的域未包含在应用的域中 - Facebook Auth: Can't Load URL: The domain of this URL isn't included in the app's domains 图表返回错误:无法加载网址:此网址的域未包含在应用的域中 - Graph returned an error: Can't Load URL: The domain of this URL isn't included in the app's domains facebook登录名:无法加载URL:该URL的域未包含在应用程序的域中 - facebook login : Can't Load URL: The domain of this URL isn't included in the app's domains Facebook App - 此URL的域名未包含在应用程序的域中。 为什么? - Facebook App - The domain of this URL isn't included in the app's domains. Why? Facebook身份验证,严格的OAuth模式:此URL的域不包含在应用程序的域中 - Facebook Authentication, Strict OAuth Mode: The domain of this URL isn't included in the app's domains 无法加载网址:此网址的域未包含在应用程序的域中 - Unable to load URL: This URL's domain is not included in the app's domain Facebook登录:该应用程序的域中未包含URL! 我收到错误> FacebookClient.php中的可捕获致命错误 - Facebook Login: URL isn't included in the app's domains! I get error > Catchable fatal error in FacebookClient.php 无法在codeigniter中加载url helper - Can not load url helper in codeigniter 操作无法加载正确的页面(网址) - Action can't load the correct page (url)
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM