Answer the question
In order to leave comments, you need to log in
Why does VK posting not work, although there are rights?
Created stand alone app with photos,wall,groups,offline permissions. Posting to group does not work Posting
code:
$token = new \VKApi\VkAccessToken($vk_token);
if (!$token->check()) {
echo 'Invalid token';
exit;
} else {
$vk = new \VKApi\VkApi($token);
$param = new \VKApi\VkParams([
"owner_id" => -$social_group,
"message" => $text,
"from_group" => 1
]);
$request = $vk->createRequest("wall.post", $param);
}
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