Facebook login “given URL not allowed by application configuration”

后端 未结 6 1210
猫巷女王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:41

    I was getting this problem while using a tunnel because I:

    1. had the tunnel url:port set in the FB app settings
    2. but was accessing the local server by pointing my browser to "http://localhost:3000"

    once i started punching the tunnel url:port into the browser, i was good to go.

    i'm using Rails and Facebooker, but might help others just the same.

提交回复
热议问题