Facebook likes reset after moving to HTTPS (URL manually set in script, though)
Posted
by
aarondicks
on Pro Webmasters
See other posts from Pro Webmasters
or by aarondicks
Published on 2014-08-19T10:56:16Z
Indexed on
2014/08/19
16:31 UTC
Read the original article
Hit count: 216
Hi fellow Facebook developers. I've got a question regarding the Facebook like button. We worked on a piece recently that embeds a number of social share buttons (please see the source code below or here on Harvey Water Softeners' website)
When the piece was released, it was on HTTP, and received over 2k likes (the URL 'slug' hasn't changed at all). The site was recently migrated to permanent-on HTTPS, and the like data has been reset, and we've been left with 50 new, recent likes.
If you see in the source code, the URL is set explicitly to like the HTTP version, which I believe to be correct. Can anyone help me work out what's happened here?
Here's the HTML bit of the like button:
<div class="fb-like" data-href="http://www.harveywatersofteners.co.uk/history-interior-design" data-layout="box_count" data-action="like" data-show-faces="false" data-share="false"></div>
Thanks in advance Aaron
© Pro Webmasters or respective owner