Hi Alex,
It’s because there is following Facebook SDK Javascript in the HTML source of the website which isn’t using any Facebook App ID:
(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
js.src = "//connect.facebook.net/en_US/sdk.js#xfbml=1&version=v2.3";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));
Ideally, it should use the same Facebook App ID that you have saved in the plugin options to enable Facebook Login. You can remove it altogether. There is no need of it. Our plugin is already loading the Facebook SDK.
Thank you very much for the quick reply! As I can not remove this script completely, where should I paste the app ID ? Instead of id? // Best, Alex
Some plugin might be inserting this. You should try deactivating other plugins one-by-one and check when that script disappears from the HTML source. You should also check if you have pasted this script somewhere in the theme/plugin options manually.
Yes I added it manualy. The problem now is removing this script deactivates whole site… completely. I was lucky to make a backup a second before removing the script.
It is a bit strange…
Really? Then you are removing it improperly. Would you post here the exact scrip you have saved in the option?
I remove via Weaver theme editor – the same way it has been inserted.
Here’s the script
</script>
<script>(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
js.src = “//connect.facebook.net/en_US/sdk.js#xfbml=1&version=v2.3”;
fjs.parentNode.insertBefore(js, fjs);
}(document, ‘script’, ‘facebook-jssdk’));</script>
The </script>
tag at the beginning of the code should not be there. If you want more help, drop an email at support[at]heateor[dot]com