【问题标题】:Given URL is not allowed by the Application configuration.:应用程序配置不允许给定 URL。:
【发布时间】:2014-05-22 14:04:45
【问题描述】:

我正在本地开发 facebook 应用程序。初始化 facebook SDK 后,我正在尝试登录 Facebook。我因以下错误而失败:

Given URL is not allowed by the Application configuration.  
One or more of the given URLs is not allowed by the App's settings.  
It must match the Website URL or Canvas URL, or the domain must be a subdomain of one of the App's domains.  

我的网页是file:///C:/Users/aanilkum/Desktop/work/Conductor/test_conductor/test_mini.html

【问题讨论】:

  • 你应该在服务器上运行它。

标签: javascript facebook-javascript-sdk


【解决方案1】:

您应该在服务器上运行它来执行此操作。本地托管的 Web 服务器是基本要求。您可以使用以下任何服务器:

【讨论】:

  • 感谢您的回复。我尝试运行服务器,但我在具有 192.168.1.100 ip 的专用网络中工作。如果我使用它也会导致上述错误。
猜你喜欢
  • 2013-01-06
  • 2016-01-06
  • 2014-04-26
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
相关资源
最近更新 更多