K
K
kandiral2017-04-05 19:37:34
Facebook
kandiral, 2017-04-05 19:37:34

Why does an anchor URL display the wrong number of likes in Facebook Like Button, Google+ +1 and Mail.ru Like?

I have likes scripts installed on my site. Scripts taken from here
https://developers.facebook.com/docs/plugins/like-...
https://developers.google.com/+/web/+1button/
api.mail.ru/sites/plugins/ share
unchanged.
There is a certain number of likes on the site page, but if you come to the same page using links like
site.ru/page.html#comment_5,
then the number of likes becomes 0.
This effect is in all three scripts. The same thing happened in classmates, but I already figured it out with them. VK native script works fine.
You can make it so that the same likes are displayed at the URL
site.ru/page.html#comment_5
as at the URL
site.ru/page.html
given that comment_5 is a pointer to a comment, and 5 is a comment ID and it can change?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question