应用程序配置不允许给定URL:

时间:2014-05-22 14:04:46

标签: javascript facebook-javascript-sdk

我正在开发本地的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

1 个答案:

答案 0 :(得分:0)

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