Answer the question
In order to leave comments, you need to log in
Why does VK.Api.call -- 'photos.getAlbums' return null for the current session, but works fine for any other?
Here is the code snippet:
VK.Api.call('photos.getAlbums', {owner_id: response.session.mid}, function(r) {
if(r.response) {
r.response.forEach(
function(item, i, arr){
i++;
if (i==null){i=0;}
$('#albums').append(''+r.response[i].title +'')
}
);
}
});
Here is the project
monodrive.ru/auth The
bug is stupid, I understand, but I just can’t understand why, I hope for your help.
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