I am trying to integrate the Facebook login into my app by following the tutorial on facebooksdk.net. I am trying to use the Facebook button control.
When I click the button I get following error:
Given URL is not allowed by the Application configuration.: or more of the given URLs is not allowed by the App's settings. must match the Website URL or Canvas URL, or the domain must be a of one of the App's domains.
Screenshot for reference -
According to some sources there is currently a bug which will prevent Facebook Login for Windows Phone from working if you do not have any entries in the "Valid OAuth redirect URIs" field in the Advanced section of your app settings. This can be worked around by adding "https://m.facebook.com/dialog/return/ms" in this field.
However that did not resolve the issue, so what else can I try to resolve this?
There is a bug in Facebook and its APIs:
There is currently a bug which will prevent Facebook Login for Windows Phone from working if you have any entries in the "Valid OAuth redirect URIs" field in the Advanced section of your app settings. This can be worked around by adding "https://m.facebook.com/dialog/return/ms" in this field.
That suggestion is wrong, and you actually need to add https://www.facebook.com/
to the "Valid OAuth redirect URIs" field in the Advanced section of your app settings.