我正在使用 phonegap 插件连接到 facebook 这个:https ://github.com/phonegap-build/FacebookConnect
我对 Facebook 应用程序设置感到困惑,当我调用 FB.init() 时,我收到以下错误消息:
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 登录(站点 url)将网站编辑为:http://localhost/(没有空格我只添加了它,因为 stackoverflow 不允许其中包含“localhost”的链接),我等了几分钟(更多超过一天)让它工作,但它仍然没有工作。
知道如何让它工作吗?
谢谢