Facebook login “given URL not allowed by application configuration”

后端 未结 6 1218
猫巷女王i
猫巷女王i 2020-11-29 01:05

I\'ve added facebook login to my site. However, when I click the button, I get a red box that says:

Invalid Argument

Given URL is not allowed by the Applic         


        
6条回答
  •  南方客
    南方客 (楼主)
    2020-11-29 01:48

    Your settings must be incorrect.

    Go to http://www.facebook.com/developers/ and edit the application you're working on.

    On the "website" tab, look for "Site URL". This should be set to your website's URL "http://yoursite.com/"

    Note that if you're using subdomains, you'll also need to update "Site Domain" to be "yoursite.com"

提交回复
热议问题