• melanie bund

    (@melanie-bund)


    Hi i have the below fb like code in my header, it was working fine till today when 300 likes suddenly became 1 – any idea what could be the problem?

    <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); js.id = id;
      js.src = "//connect.facebook.net/en_US/all.js#xfbml=1";
      fjs.parentNode.insertBefore(js, fjs);
    }(document, 'script', 'facebook-jssdk'));
    </script>
    <div class="fb-share-button" data-layout="button"><script src="https://connect.facebook.net/en_US/all.js#xfbml=1"></script><fb:like href="<?php echo get_permalink(); ?>" layout="button_count" ></fb:like></div>

    thank you Melanie

Viewing 9 replies - 1 through 9 (of 9 total)
  • Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Could you link to a Webpage with the problem?

    Thread Starter melanie bund

    (@melanie-bund)

    Hi Andrew
    limk below
    https://photohunters.org/
    thank you
    melanie

    Thread Starter melanie bund

    (@melanie-bund)

    you have to go into browser setting, view page source as right click has been disabled

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    If you switch to the Twenty Fifteen/ Fourteen theme, does the issue persist?

    Thread Starter melanie bund

    (@melanie-bund)

    i cant do that as we have people uploading photos all the time as users/photographers are worldwide, so different time zones, we went live a monday and all was working great till yesterday, the only thing i have added is an ajax chat – in chat – where i presume if any script is involved it goes in the header or footer, that i actually cant see (am ignorant on how that works) when i download the files to dreamweaver, no extra script appears..
    not sure if this info helps?
    thanks
    melanie

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Oh wait, have you got this working Melanie? I can see the Likes button up there.

    Thread Starter melanie bund

    (@melanie-bund)

    yes the likes button is working but i have lost 300 – which looked great and not too sure if the users will relike – my problem is how can i have lost those likes
    melanie

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Oh right, I think the like count is stored by Facebook and only accessed and displayed by your website.

    Although I completely understand your position, the general advice is to deactivate all of your plugins and switch to one of the default WordPress themes to isolate the issue. Since you can’t do that, I would recommend posting on Facebook’s support section to see if they have a better way of debugging this; https://www.facebook.com/help/community/

    Thread Starter melanie bund

    (@melanie-bund)

    thank you so much for your time and help
    melanie

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘facebook likes not working’ is closed to new replies.