Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Like Button Not Showing Counts

This happens on any web browser. When I go to the page, I see the like button not showing any counts. Then I...

  1. Press on the Like button.
  2. I then see the box say +1.
  3. I refresh the page.
  4. I no longer see the +1 and I see the Like button as if it was never pressed.

I can repeat steps 1-4 endlessly with the same results - I never see the total live count.

It would seem like it's not keeping counts, but when I query it via:

https://api.facebook.com/method/fql.query?query=select total_count,like_count,comment_count,share_count,click_count from link_stat where url='https://www.myswebsite.com/'&format=json

I see the live stats - so I know it's working. I've also tried different variations of http://developers.facebook.com/docs/reference/plugins/like/ - and old versions as well. I've isolated the code to just be the facebook code with nothing else on the page. For some reason, when I use https://www.myswebsite.com/ it doesn't show. I try other URLs like http://www.google.com with the code, and it works fine, I can see the count.

It's an SSL web site. Does this have anything to do with it? Also, when we initially launched the site with the Like button, it was http://mywebsite.com originally. Then we switched it to http://www.myswebsite.com, and then setup a SSL wildcard to function with both. I'm not sure if caching has anything to do with it.

Thanks!

like image 268
SaltProgrammer Avatar asked Sep 29 '11 22:09

SaltProgrammer


1 Answers

This blog post might give you some help. What the post says is that you can "sort of" clean your URL with Facebook URL linter tool

Also there is a bug reported related to this issue

like image 192
Leonard Saers Avatar answered Oct 29 '22 11:10

Leonard Saers