K
K
kibergile2020-06-02 22:15:44
Python
kibergile, 2020-06-02 22:15:44

How to make a post in the community through a community token?

I'm trying to write a post in the community through a simple code:

import vk_api

GroupId = -189021062
vk_session = vk_api.VkApi(token = 'тут токен группы.')
vk = vk_session.get_api()
vk.wall.post(owner_id = GroupId, from_group = 1, message = ('Bot is awsome!'))

But it gives me an error "Group authorization failed: method is unavailable with group auth". Which method is responsible for posting in a group using the group token? or is it impossible to do?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
soremix, 2020-06-02
@kibergile

It is forbidden.
Need user key
https://vk.com/dev/wall.post

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question