Answer the question
In order to leave comments, you need to log in
Error in code with wall.get?
my_token = 'token'
session = vk_api.VkApi(token = my_token)
vk = session.get_api()
def get_id_post():
vk.method('wall.get', {'owner_id' : 'community id here', 'count ' : 1})
get_id_post()
throws an error:
get_id_post()
vk.method('wall.get', {'owner_id' : '-204580035', 'count' : 1})
TypeError: __call__() takes 1 positional argument but 3 were given
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