Expand my Community achievements bar.

SOLVED

Facebook Login Integration

Avatar

Level 2

While i am selection social connect it shows 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." please help me someone.

1 Accepted Solution

Avatar

Correct answer by
Administrator

Hi 

Have a look at this post:

Link:- http://stackoverflow.com/questions/19098952/given-url-is-not-allowed-by-the-application-configuratio...

//Try to check at Settings > Advanced. At Valid OAuth redirect URIs, make sure you have a correct domain or let it empty (not recommended)

You need to add the URL to your app:

    Go to the app you want for user login on the Facebook Developers page

Under Basic settings:

  1. Add the platform - Mine was web.
  2. Supply the site URL - mind the http or https.
  3. You can also supply the mobile site URL if you have any - remember to mind the http or httpshere as well.
  4. Save the changes.

Then hit the advanced tab and scroll down to locate Valid OAuth redirect URIs its right below Client Token.

  1. Supply the redirection URL - The URL to redirect to after the login.
  2. Save the changes.

Then get back to your website or web page and refresh.

 

I hope this would help you.

Thanks and Regards

Kautuk Sahni



Kautuk Sahni

View solution in original post

2 Replies

Avatar

Level 9

@Santosh,

It seems to me that Facebook application setting isn't correct. Host name (localhost or some IP ) from where you are trying to launch a Facebook application should be same as host name which you configured in facebook app.

Jitendra

Avatar

Correct answer by
Administrator

Hi 

Have a look at this post:

Link:- http://stackoverflow.com/questions/19098952/given-url-is-not-allowed-by-the-application-configuratio...

//Try to check at Settings > Advanced. At Valid OAuth redirect URIs, make sure you have a correct domain or let it empty (not recommended)

You need to add the URL to your app:

    Go to the app you want for user login on the Facebook Developers page

Under Basic settings:

  1. Add the platform - Mine was web.
  2. Supply the site URL - mind the http or https.
  3. You can also supply the mobile site URL if you have any - remember to mind the http or httpshere as well.
  4. Save the changes.

Then hit the advanced tab and scroll down to locate Valid OAuth redirect URIs its right below Client Token.

  1. Supply the redirection URL - The URL to redirect to after the login.
  2. Save the changes.

Then get back to your website or web page and refresh.

 

I hope this would help you.

Thanks and Regards

Kautuk Sahni



Kautuk Sahni