R
R
rubdev2018-04-09 13:58:20
In contact with
rubdev, 2018-04-09 13:58:20

VK open api, wall.post can't attach a photo, why?

I send a request, the data variable contains the result of calling the photos.saveWallPhoto method, there are no errors. As a result, I can't see the photo, why?

VK.Api.call('wall.post', {
    v: "3.0",
    owner_id: data.response[0].owner_id,
    message: 'Текст поста',
    attachments: 'photo' + data.response[0].owner_id + '_' + data.response[0].id
}, function (data) {
   
});

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