Given URL is not allowed by the Application configuration Facebook application error

前端 未结 16 2171
广开言路
广开言路 2020-11-28 05:34

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,

相关标签:
16条回答
  • 2020-11-28 05:52

    1.Make Sure Website Url and platform added, if not then visit https://developers.facebook.com/quickstarts/ then Select Platform -> Setup SDK -> Website Url And so on..

    Note: website url can't be like this : https://www.example.com just remove www and make it simple and working ;)

    2.Goto App Dashboard -> Setting -> Click on Advanced Tab then go to bottom of the page and enable Embedded Browser OAuth Login and leave Valid OAuth redirect URIs blank and Save it

    0 讨论(0)
  • 2020-11-28 05:57

    So... facebook distinguishes pretty harshly between http and https in your app. This is just another small thing to check if you run into trouble.

    0 讨论(0)
  • 2020-11-28 05:58

    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 https here 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.

    0 讨论(0)
  • 2020-11-28 05:59

    You need to add the URL to your app:

    1. Go to the app, you want for user login, on the Facebook Developers page
    2. Click on the settings tab
    3. Click add platform
    4. Select Website
    5. After selection it will ask for some details such as URL for your website which uses login with facebook feature, fill the form and submit it

    That's all and you are done. Make sure that the app's URL is the same from where you're logging in.

    0 讨论(0)
  • 2020-11-28 06:01

    Sometimes this error occurs for old javascript sdk. If you save locally javascript file. Update it. I prefer to load it form the facebook server all the time.

    0 讨论(0)
  • 2020-11-28 06:02

    For Android Developers,

    Make sure you have enabled Facebook Login inside the Products list inside Dashboard of your Facebook project app and have added all the required details as you go through the whole flow.

    The login should work without giving the same error.

    0 讨论(0)
提交回复
热议问题