Answer the question
In order to leave comments, you need to log in
Why do I need an access key in VK for groups?
Good afternoon!
There is a group, in it received an access key. Then I make a request for publication in the group through the site on the server in this way:
https://api.vk.com/method/wall.post?owner_id=-XXXXXXX&from_group=1&message=HelloWorld&access_token=Ключ_Доступа
error_code":5,"error_msg":"User authorization failed: method is unavailable with group auth.
Answer the question
In order to leave comments, you need to log in
The wall.post method is not available with a community token. In the https://vk.com/dev documentation , for all methods available with a community token, there is an icon next to it. If it is not there, then only with a user token.
A community token is needed, for example, for community messages.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question