Answer the question
In order to leave comments, you need to log in
Find out the number of "likes" VKontakte
The question is the following, on the pages of the site there is a "Like" button from Vkontakte.
I would like to somehow automatically find out the statistics - which pages were liked and how many times.
This info should be in the site database.
It seems that you can find out like this:
vkontakte.ru/share.php?act=count&index=1&url=YOUR_URL
Returns
VK.Share.count(1, LIKE_COUNT);
But I really don’t want to do this for every page out of a thousand.
So far I see options:
Answer the question
In order to leave comments, you need to log in
Now everything is there: VK.Observer.subscribe('widgets.like.liked', update_likes); VK.Observer.subscribe('widgets.like.unliked', update_likes);
Yes, there is no such magic call, you better report it to VKontakte support. I often see this question on the net, I think if everyone asks them this, they will somehow react.
So far, VKontakte does not have such opportunities (unlike facebook), but as far as I know, the API should expand very soon, I think it's worth waiting for these times
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question