To know the number of "likes" Vkontakte


Warning: count(): Parameter must be an array or an object that implements Countable in /home/styllloz/public_html/qa-theme/donut-theme/qa-donut-layer.php on line 274
0 like 0 dislike
26 views
The question is, on the pages of the website have a "like" button from Facebook.
Want to automatically know the statistics — which pages were talikala and how many times.
This info should be kept in the database of the site.

Like you can learn:
vkontakte.ru/share.php?act=count&index=1&url=YOUR_URL
Return
VK.Share.count(1, LIKE_COUNT);
But to do so for each page of thousands — not very desirable.
Until I see the options:
  1. Periodically for each page (for example, on each 10 each page load) to update the number of likes
  2. To rerouting like using your script
  3. To subscribe to a husky event in javascript


Problem with (2) and (3) that I will never be able to learn about unlike.

Maybe I'm missing something and there is a magical call that will give me all the info at once?
by | 26 views

4 Answers

0 like 0 dislike

Now all have: VK.Observer.subscribe('widgets.like.liked', update_likes); VK.Observer.subscribe('widgets.like.unliked', update_likes);

by
0 like 0 dislike
Yes, there is no magic call, you better support Vkontakte will be reported. I often see this question on the network, I think if everyone is going to ask them, they somehow treegrowth.
by
0 like 0 dislike
While such possibilities at Facebook are not (unlike facebook), but as far as I know, very soon, the API must be expanded, I think we should wait this time
by
0 like 0 dislike
You can intercept a call to window.fastXDM.Server.callMethod and thus learn about huskies and alanah.
by

Related questions

0 like 0 dislike
2 answers
asked Mar 25, 2019 by Freem
0 like 0 dislike
3 answers
asked Mar 24, 2019 by ATimofeev
0 like 0 dislike
2 answers
0 like 0 dislike
1 answer
asked May 4, 2019 by ivan99
0 like 0 dislike
1 answer
110,608 questions
257,186 answers
0 comments
27,964 users