Answer the question
In order to leave comments, you need to log in
What's wrong with getting an application token?
I did everything according to the documentation, entered
https://oauth.vk.com/authorize?client_id=********&redirect_uri=https://oauth.vk.com/blank.html&scope=friends,offline,groups,notifications&type=token
https://oauth.vk.com/blank.html#code=что-то_там
session = vk.Session(access_token='что-то_там')
api = vk.API(session)
print(api)
print(api.friends.get())
vk.exceptions.VkAPIError: 5. User authorization failed: invalid access_token (4).. request_params = {'method': 'friends.get', 'oauth': '1'}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question