使用子域登录 Facebook
Login with facebook using a subdomain
全部,
我正在尝试使用 facebook 登录,在我的 facebook 应用程序设置中我有我的网站。例如,我拥有的站点 URL 是 http://website.com
。我实际上使用的是子域,所以我不确定如何设置它以便它与子域一起使用。例如,我尝试登录的 URL 是: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?我显然不想为每个子域创建一个应用程序。
在基本设置的应用程序域字段中添加 website.com
全部,
我正在尝试使用 facebook 登录,在我的 facebook 应用程序设置中我有我的网站。例如,我拥有的站点 URL 是 http://website.com
。我实际上使用的是子域,所以我不确定如何设置它以便它与子域一起使用。例如,我尝试登录的 URL 是: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?我显然不想为每个子域创建一个应用程序。
在基本设置的应用程序域字段中添加 website.com