使用子域名登录facebook

时间:2015-02-12 21:07:09

标签: php facebook

全部, 我正在尝试使用Facebook登录并在Facebook上的应用程序设置中拥有我的网站。例如,我的网站网址是http://website.com。我实际上使用子域名,所以我不知道如何设置它以便它适用于子域名。例如,我尝试登录的网址是:http://subdomain1.website.com/sport。我从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.

如何使用子域名登录facebook?我显然不想为每个子域创建一个应用程序。

1 个答案:

答案 0 :(得分:1)

在基本设置的应用程序域字段中添加website.com

相关问题