I am trying to send app invite to facebook friends from a website(not from inside facebook app) but am getting this error.
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.
The app invite works perfectly from within the facebook app(exactly same code).
These are the settings for my app in 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/
The url of page that loads the facebook app invite is the same url given in website section of app settings. Still it is complaining that urls don't match.