Skip to content

Instantly share code, notes, and snippets.

@trolleway
trolleway / config.py
Last active December 16, 2020 18:57
Post photo from web to vk.com in python
vk_gid = '' #user id
#obtain client_id from VK: create new standalone app at https://vk.com/editapp?act=create
vk_client_id = ''
vk_scope = 'wall,photos'
#open in browser https://oauth.vk.com/authorize?client_id=0000000000&scope=wall,photos&v=5.60&response_type=token&redirect_uri=https://oauth.vk.com/blank.html
#and paste token here
vk_token = ''