Consider the t0 the moment of site starting and t1 the moment you add SSL to your site. All the FB, Twitter, etc. shares are stored according to the complete URL string. All the posts between the t0 and t1 will have the URL without &#x27;S&#x27; and all the posts between t1 and &#x27;now&#x27; will have the URL with &#x27;S&#x27;. You can collect the shares from the FB API but you must provide the post URL and then concatenate the results. With this method you can preserve the shares, but we must keep this in mind: a share is registered with a single URL string, and also we must consider this transition as a one way transition and don&#x27;t change it back to HTTP.