Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Heateor Support

    (@heateor)

    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.

    Thread Starter metalmate

    (@metalmate)

    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

    Plugin Author Heateor Support

    (@heateor)

    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.

    Thread Starter metalmate

    (@metalmate)

    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…

    Plugin Author Heateor Support

    (@heateor)

    Really? Then you are removing it improperly. Would you post here the exact scrip you have saved in the option?

    Thread Starter metalmate

    (@metalmate)

    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>

    Plugin Author Heateor Support

    (@heateor)

    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

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘FB stopped today’ is closed to new replies.