Answer the question
In order to leave comments, you need to log in
Why is the vkontakte api method not executed if I'm not logged in?
Hello. I get the number of likes for my page like this:
VK.api("likes.getList", {type: "sitepage", owner_id: appId, page_url: siteUrl}, function (data) {
//показать данные
});
$.getJSON('https://api.vk.com/method/likes.getList?type=sitepage&owner_id=appId&page_url=siteUrl&filter=likes&callback=?', function(data,status,xhr) {
//показать данные
});
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question