Since I’ve launched my App to production I’m having problems with Facebook. I use accounts-facebook to let my users register using their facebook accounts. When running in localhost everything was working fine, I had everything configured like in this tutorial: http://bulenttastan.net/login-with-facebook-using-meteor-js/
The error I’m getting is the following:
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.
My app is running in www.myapp.com:5431, so I’ve configured facebook with this URL but it doesn’t work.
I think the absolute URL is well configured in the server. This is what I get using the absoluteUrl() in the client:
We finally made this work. The problem was related with the port, the App was running under http://myapp.com:5431 and Fb was giving the errors above so we decided to migrate the app to a subdomain in the port 80 http://app.myapp.com