Avatar ·

Posting in VK via vk.api - python

📁 Циклы, python

There was a need for the development of a script for posting in the community (group) of the site vk.com pictures. I realized the sending of a simple message (textual) and how to do with Attacment, I can’t understand the good people.

and yes the picture will be presented in the form of

 #/DEV/USR/ENV Python3   #-*-coding: utf-8-*-   Import  vkmy_app_id =  5484091  user_login =  user_password = ' 'password'  sation = vk.authSession (spope =  'vel ", app_id = my_app_id, user_login = user_login, user_password = user_password) vk.api.access_token =  "" 40d8BEAEBFDB3815EF279032BB6C8B3A1374EE0D6704882064FA696866666666666666666666666666666666666666666666666666666666cb3bac7440 " api = vk.api (session) api.wall.post (Owner_id =  '-122263284' , message =  "" just text ... "" ) r