【发布时间】:2015-07-16 00:07:53
【问题描述】:
我正在尝试使用 node webkit 开发一个 facebook 桌面应用程序。我正在尝试找到一种方法来使用 facebook 客户端 Javascript sdk 来访问图形功能。我正在使用以下代码尝试连接到 facebook。 (https://gist.github.com/konsumer/2298cc4f8b7b0a1ee9fa#file-nwfacebooklogin-js)
但是,当我将重定向 URL 指定为 https://www.facebook.com/connect/login_success.html 时,它会给出错误 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.
我应该提供什么 URL,因为我不会在网站上托管它。
【问题讨论】:
-
您是否在应用程序设置中配置了任何“网站”平台?这可能会导致此问题。
标签: javascript facebook facebook-graph-api node-webkit