I recently switched a client's site from HTTP to HTTPS (SSL encryption) and needed to come up with a solution to their "social sharing counts" resetting to zero. This is not a flaw or bug, it's working as it was intended.
Here is how it works. When you share a page via social media, it uses its URL:
When you switch to SSL / HTTPS, your URL changes, similar to if your domain name changes altogether:
With the new URL, you lose all of your social sharing counts, a source of major pride (and potential profits).