我正在尝试从网站(而不是从 facebook 应用程序内部)向 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 应用程序中完美运行(完全相同的代码)。
这些是我在 facebook 中的应用程序的设置:
App Domains: ec2-54-200-144-115.us-west-2.compute.amazonaws.com
Canvas Url: http://ec2-54-200-144-115.us-west-2.compute.amazonaws.com/
Website: http://ec2-54-200-144-115.us-west-2.compute.amazonaws.com/mobile/screen4/
加载 facebook 应用邀请的页面 url 与应用设置的网站部分中给出的 url 相同。仍然抱怨网址不匹配。