Windows Phone 8 Facebook Login This URL is not allowed by the application

I am trying to integrate Facebook login into my application following the facebooksdk.net guide. I am trying to use Facebook button control .

When I click the button, I get the following error:

This URL is not allowed by the application configuration: or more specified URLs are not allowed by the application settings. must match the website URL or canvas URL, or the domain must be one of the application domains.

Screenshot for reference -

Facebook Given URL is not allowed by Application Configuration

According to some sources, there is currently an error that will prevent Facebook Login for Windows Phone from working if you do not have entries in the "Valid UAuth redirect URIs" field in the "Advanced" section of your application settings. This can be circumvented by adding https://m.facebook.com/dialog/return/ms "in this field.

However, this did not solve the problem, so what else can I try to resolve it?

+7
c # facebook windows-phone-8
source share
2 answers

There is an error on Facebook and its API:

There is currently an error that will prevent Facebook from using Windows Phone from working if you have entries in the “Valid OAuth redirect URIs” in the Advanced section of your application’s settings. This can be circumvented by adding " https://m.facebook.com/dialog/return/ms " in this field.

This sentence is incorrect, and you really need to add https://www.facebook.com/ to the "Valid UAuth redirect URIs" field in the "Advanced" section of your application settings.

Example of setting

+23
source share

I had the same problem and solved it by making the following changes to the application settings in the developer toolbar. All you have to do is:

  • Go to the app bar at developers.facebook.com
  • Go to settings
  • Go to the "Advanced Options" section.
  • There is an option “Built-in OAuth Login browser”, make sure it is set to “yes”

Example of embedded browser oauth login

+4
source share

All Articles