Answer the question
In order to leave comments, you need to log in
How to set an entry in a VK group via api?
I ask a request
$data = array(
'owner_id' => $app_id,
'from_group' => '1',
'message' => 'it is a test',
'signed' => '0',
'access_token' => $token
);
$params = http_build_query($data);
echo "<a href='https://api.vk.com/method/wall.post?{$params}'>POST</a>";
Access denied: no access to call this method
This access right is not available by default for sites using OAuth authentication (ignored when trying to authorize)
Answer the question
In order to leave comments, you need to log in
When receiving a token, a redirect must be done to https://oauth.vk.com/blank.html
. Otherwise, the token will not receive the necessary rights.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question