Facebook Login Integration | Community
Skip to main content
santosh_sai
Level 2
January 29, 2016
Solved

Facebook Login Integration

  • January 29, 2016
  • 2 replies
  • 1242 views

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.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by kautuk_sahni

Hi 

Have a look at this post:

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

//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

2 replies

Jitendra_S_Toma
Level 10
January 29, 2016

@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

kautuk_sahni
Community Manager
kautuk_sahniCommunity ManagerAccepted solution
Community Manager
January 29, 2016

Hi 

Have a look at this post:

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

//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