Answer the question
In order to leave comments, you need to log in
How to add an entry to the community wall through the VK API on behalf of the community?
Whole code ( class ):
# отправка в ВК
$config['user_id'] = 100000;
include 'api/vk.php';
$config['secret_key'] = 'pntzqCLS5oxOp0QFMD2i';
$config['client_id'] = 6634525;
$config['from_group'] = 1;
$config['access_token'] = 'd431838099f694ebe073fcaca725da138bc3d35430cee15e71e526e083534b7b4bcc917558b6b180fde66';
$v = new Vk($config);
$response = $v->api('wall.post', array(
'owner_id' => -112267657,
'message' => "test",
));
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question