VK.init({
apiId: *******,
scope: 4
});
var app = {
auth: {} // authorization result
}
VK.Auth.login(function(response) {
$.each(response, function (index, value) {
app.auth[index] = value;
});
});
VK.Api.call('photos.getAlbums', {owner_id: this.auth.session.user.id
function(r) {
alert(r);
});
VK.Auth.login(function(response) {
// ...
}, 4);
Find more questions by tags VKontakte
4 - permission for photos, but authorization is not requested permits, which are supposed to be.
The documentation was not able to clarify this issue. - Alford.Mohr commented on August 19th 19 at 23:12