M
M
marataziat2016-04-15 09:48:25
Python
marataziat, 2016-04-15 09:48:25

What's wrong with api wall.post?

i wrote the code

import vk
vkapi = vk.api(1)
vkapi.access_token=vk_auth_port_by_bulates1.auth(login,password,app_id,'wall')
vkapi.wall.post(message="Test from python 3.4")

and it does not work in the console gives an error
/Library/Frameworks/Python.framework/Versions/3.5/bin/python3.5 /Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/ffmpeg.py
Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/ffmpeg.py", line 2, in <module>
    vkapi = vk.api(5416302,77053264458,29316554)
TypeError: 'module' object is not callable

Process finished with exit code 1

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question