Support » Plugin: Simple Social Share » Facebook share button now requires appid

  • My facebook share with count button disappeared recently. Upon further investigation, I have found the javascript for the facebook share is lacking the appid. Adding in a valid ID fixes the problem.

    In include/services-js-array.php, appID is missing from the js.src line.

    <div id="fb-root"></div>
    <script>(function(d, s, id) {
      var js, fjs = d.getElementsByTagName(s)[0];
      if (d.getElementById(id)) return;
      js = d.createElement(s); = id;
      js.src = "//";
      fjs.parentNode.insertBefore(js, fjs);
    }(document, 'script', 'facebook-jssdk'));</script>

    Changing the “js.src” line with something like this (replacing ##### with a valid ID) fixes the problem:
    js.src = "//";

Viewing 1 replies (of 1 total)
  • Plugin Author Perials


    Hi hh3,

    Thanks for trying out the plugin. My apologies for not getting back to you on time.

    Below is the link for generating facebook share button with share count.
    The code you see in include/services-js-array.php is taken from above page. Even without the app id share count should be displayed. You can verify this by copying the markup for button from above page in simple html file without providing any id.

Viewing 1 replies (of 1 total)
  • The topic ‘Facebook share button now requires appid’ is closed to new replies.