Given URL is not allowed by the Application configuration

前端 未结 15 1268
北恋
北恋 2020-11-29 02:50

I am trying to create facebook sign-in page according to this tutorial. I only changed the two lines

appId      : \'370675846382420\', // App ID
channelUrl          


        
15条回答
  •  -上瘾入骨i
    2020-11-29 03:32

    I faced the same issue. I had entered http://www.example.com in the App settings. When anybody accessed my website using the full URL, Facebook Login worked fine. But if somebody typed in the URL without www in the browser, Facebook Login failed with this error message. When I changed the App Setting to http://example.com everything started working fine.

提交回复
热议问题