Facebook login throws "Given URL is not allowed by the Application configuration.: One or more of the given URLs is not allowed

前端 未结 10 3291
遥遥无期
遥遥无期 2021-02-20 05:33

I know this question was already asked many times, but still It seems to throw this error altough I tried several url addresses.

I\'m trying to make facebook login throu

相关标签:
10条回答
  • 2021-02-20 06:26

    I got it to work with example.com in the settings. No http://www. It should work for you too (and you can add more that one domain.

    0 讨论(0)
  • 2021-02-20 06:33

    Here's all the things I did to get this working

    1. Nothing in "App Domains"
    2. Put the server name (with port) in "Site URL"
    3. In the "App Details" tab turn on your "Website" (I have the mobile website on) http://cl.ly/image/0h0D0L050Z2v (Why is this separate from setting the URL?)
    4. Quadruple check your appid. I swear mine changed. But maybe I'm hallucinating that.
    0 讨论(0)
  • 2021-02-20 06:34

    For the errors like top level domains are not allowed we need to provide both website and mobile url along with port number this works for me fine

    0 讨论(0)
  • 2021-02-20 06:35

    Your issue is with your Facebook JavaScript SDK implementation and your Facebook app settings. The JS SDK is failing to initialize because it's been given the "wrong" settings.

    The App Domain should be proj.ruppin.ac.il, and the Site URL should be http://proj.ruppin.ac.il/igroup20/test1/. It appears you've already done that. If so, make sure it saved properly, and you're not receiving any validation issues.

    Lastly, go to your Facebook App's "Dashboard" and look for any warnings. For example, you may see Sandbox Mode is enabled; you may need to disable it before you can use the Facebook JS SDK.

    Like others, I'm still seeing the "old" Facebook apps panel, but if you could provide a full screen capture of the "Dashboard" and "Settings" panes, we could be more helpful.

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