我正在尝试从网站(而非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应用邀请的网页的网址与应用设置的网站部分中提供的网址相同。仍在抱怨网址不匹配。