Some counters won't work under HTTPS
-
Hi,
we recently deployed this excellent plugin on a customer site, but found the Twitter count wasn’t working:
https://www.dominos.co.uk/blog/the-ultimate-quest-for-a-slice-of-pizza/
We ascertained that it is because the plugin is trying to load the plugin over HTTP when the page is in HTTPS. Therefore, we needed to remove the protocols from the front of the requests in the JS file (lines 31-42). If you change it to
var twitter_url = "//cdn.api.twitter.com/1/urls/count.json?url=" + url + "&callback=?";
it will load the script with the same security that the page has.
Are you able to include this in your next update, please?
Thanks,
Adam
https://www.ads-software.com/plugins/juiz-social-post-sharer/
- The topic ‘Some counters won't work under HTTPS’ is closed to new replies.