Topic-icon Restoring "Likes Count" after moving to HTTPS

6 years 9 months ago #62076 by yorron
hello there,

i've recently "moved" a site to HTTPS, and enabled the "force HTTPS" in Joomla's global configurations.
this is an important step for many reasons as i'm sure you know.

BUT - now all the articles in our blog - some of which were shared on Facebook dozens of times - all show 0 in the "likes count" bubble of the JFBC's sharing buttons.
as you probably know - FB and other social networks track the number of likes/shares based on a specific URL - so this is expected & not related to JFBConnect - but since this is an imporatnt issue, i'm hoping you can provide a solution as a custom hack or in one of the component's future versions.

i tried setting the option "Force Scheme" in JFCB to "http://" - but that didn't change anything.

i looked around for an existing solution but didn't find anything for Joomla - however i did find some companies that (claim to) have a solution for Wordpress, here are 2 relevant links:
warfareplugins.com/social-share-count-recovery/
mediavidi.com/how-to-switch-to-htttps-and-keep-your-social-share-counts/

since i'm not a developer, i don't understand most of the techniqual terms in these articles.

this is very tricky since, moving forwared all links that are shared from the site will be using HTTPS - so if the plugin only uses HTTP, it will show the correct number of PAST likes/shares, but will not add any new ones to the count.

so i'm not sure if there is even a solution here - but i was wondering if ther is a way that i can keep all my likes/shares count from the HTTP pages, while adding the new likes/shares for the new pages?

thank you very much
yorai
The topic has been locked.
Support Specialist
6 years 9 months ago #62087 by alzander
Yorai,
You're correct, it's not a fun issue to experience and there's only limited things that we can do within JFBConnect. The Force Scheme option is one of them. By enabling that, all Like buttons and Comment areas will use http, which means your old counts should still work. It also means that any new pages on your site will be shared with http, which may or may not be ok. In general, your site likely redirects all requests from http to https, which means that Facebook will follow these links as well. The count will be for the http page, but the users will be redirected properly to the https page.

It's not ideal, but it usually works.

One other option, depending on the amount of pages that you're using the sharing features on, is to include the share buttons manually on those older pages (or at least the critical ones that had a bigger following) using the old link. Then, you can use our automated tools to add the share buttons to new pages and exclude automatically adding those buttons to the old pages. It's a bit tedious, and in years you'd still need to ensure the old links are correct, which is a pain.

That's about it for options. Even in the first link that you mention about 'recovering' those links, there's a disclaimer at the bottom of:

Please note: Due to recent (early 2017) changes to many social network APIs, Social Warfare cannot guarantee recovery of shares from networks other than Pinterest and LinkedIn.

Basically, even with the best efforts, Facebook could change their algorithm one day to not follow redirects, which would mean that your pages that still linked to the http version could lose their count someday in the future when they've amassed an even bigger count.

For that reason alone, we recommend just making the hard break to https and starting the process of garnering the count again, no matter how annoying that is.

I hope that explains further, but please don't hesitate to get in touch if you have any further questions.

Thanks,
Alex
The topic has been locked.
Support Specialist
6 years 9 months ago #62090 by alzander
Just letting you know there's a similar discussion about this going on in this thread .

This usually isn't a common topic, but since 2 threads are happening at the same time about it, I thought I'd cross-reference them.
The topic has been locked.
6 years 9 months ago #62098 by yorron
Hi Alex,
thank you very much for the details.

i hope that as this issue become more common worldwide, FB & other networks will combine the count for both HTTP & HTTPS.

for now i wil try to use the second option you suggested.

thank again,
yorai
The topic has been locked.
Support Specialist
6 years 9 months ago #62103 by alzander
No problem for the suggestion. I do hope it helped explain and wish you the best with your site.

If you need anything else, please don't hesitate to get in touch.

Thanks,
Alex
The topic has been locked.