Given URL is not allowed by the Application configuration

前端 未结 15 1220
北恋
北恋 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条回答
  • 2020-11-29 03:27

    This can be caused by incorrect app-ID

    In my ionic sample I had the same issue because I had inserted a different "app-ID" in my ionic app other than the app-ID I received from Facebook developer account.

    so we have to carefully insert the relavent appID

    0 讨论(0)
  • 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.

    0 讨论(0)
  • 2020-11-29 03:33

    Go to your application, settings (basic tab) and add platform (website). Type your site url and done.

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