Answer the question
In order to leave comments, you need to log in
Why does the photo go to the album, but is not published on the wall?
Good evening. I send photos via OpenAPI. Everything goes well - the photo ends up in the album.
Next, directly from the chrome console, I call the method like this:
VK.Api.call("wall.post", {owner_id: -609XXXXX, from_group: 1, attachments: "photo609XXXXX_315912228"}, function(r){
console.log(r);
});
VK.Api.call("wall.post", {owner_id: -60992840, from_group: 1, attachments: "photo66748_265827614"}, function(r){
console.log(r);
});
Answer the question
In order to leave comments, you need to log in
Found the answer!
Although the photo after uploading comes in the format photoGOIDMYPAGE_IDPHOTO, you need to save it to the group like this
photoGROUPID_PHOTOID, причем GROUPID со знаком минус.
And my problem is that I upload a photo for display on the wall in a group, everything goes without errors.
But when I post it through wall.post, it has already been deleted, what could be the problem?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question