I am trying to create facebook sign-in page according to this tutorial. I only changed the two lines
appId : \'370675846382420\', // App ID
channelUrl
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
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.
Go to your application, settings (basic tab) and add platform (website). Type your site url and done.