全部,我尝试使用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
本文收集自互联网,转载请注明来源。
如有侵权,请联系 [email protected] 删除。
我来说两句