Answer the question
In order to leave comments, you need to log in
Is it possible to offer news to the public through the VK API?
Good afternoon to the project participants. I managed to post the news on my wall, the news in the group (if I have rights), but I can't find it in the documentation - is it possible to somehow offer the news to the "public page"? If there are options, I will be happy with a small piece of code, or in extreme cases, a link where it is described in the documentation.
I don't think the environment matters, but I have a node.js server
Thanks!
Answer the question
In order to leave comments, you need to log in
Everything is ok, I did everything a long time ago, and it works with photos as well.
An example piece of code:
VK.Api.call('wall.post',
{
owner_id: -ID_паблика, //обратите внимание с МИНУСОМ
from_group: 1
},
function () {
//callback
});
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question