Answer the question
In order to leave comments, you need to log in
How to calculate the total number of likes for an article?
Given: An article on the site has 2 likes on facebook, 3 likes on VKontakte and 5 likes on Twitter. How can you calculate the sum of all these likes for an article?
Answer the question
In order to leave comments, you need to log in
facebook : graph.facebook.com/http://habrahabr.ru/post/149709/
{
id: "http://habrahabr.ru/post/149709/",
shares: 3
}
{
count: 29,
url: "http://habrahabr.ru/post/149709/"
}
VK.Share.count(1, 9); // 9 - count
Are you going to check by accounts so as not to double count one person who liked in several places?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question