Posting in VK via vk.api - python
📁 Cycles, Advanced Python Topics
There was a need to develop a script for posting pictures in a VK.com community (group). I figured out sending a simple (text) message, but I can't understand how to do it with an attachment, good people.
And yes, the picture will be presented in the form of
#!/usr/bin/env python3 #-*-coding: utf-8-*- import vk my_app_id = 5484091 user_login = 'email@mail.ru' user_password = 'password' session = vk.AuthSession(scope = 'wall' , app_id = my_app_id, user_login = user_login, user_password = user_password) vk.api.access No answers yet.
Log in to leave an answer