PHP:登录集成

时间:2013-08-29 11:47:57

标签: facebook facebook-graph-api facebook-php-sdk

我正在使用facebook sdk登录我的网站...

这是我的应用设置

enter image description here

当我使用登录功能时,它允许登录但是抛出错误并且不会返回我的站点 错误是这样的......

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.

可能有什么问题?

帮帮我

1 个答案:

答案 0 :(得分:0)

您应该将应用域添加到应用域名到屏幕截图中显示的Facebook应用配置。例如,如果您的网站是

  

www.example.com

你应该添加

  

example.com

到配置中的应用域名(从上到下的第4个字段)