Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if login and password:
- self.session = vk_api.VkApi(login=login, token='[token]')
- self.session.auth(token_only=True)
- self.vk = self.session.get_api()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement