E
E
Ensiouel2019-05-23 16:15:09
In contact with
Ensiouel, 2019-05-23 16:15:09

How to get a photo from a vk wall using execute?

var photos = [];
var i = 0;
while (i < 25) {
    photos = photos + API.wall.get({
        "owner_id": Args.owner_id,
        "count": 100,
        "access_token": Args.access_token,
        "v": 5.95
    })[email protected]@.type;
    i = i + 1;
}
return photos;

I'm getting posts from a specific wall and trying to get the url of the images, but it doesn't work, I can't even get the type of attachments itself , can anyone help?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question