Answer the question
In order to leave comments, you need to log in
VK API authorization error?
Hello, can you tell me, earlier I could always authenticate my account using the vk_api.VkApi.auth () method, specifying ONLY the login and password. And today I get this error -
vk_api.exceptions.AuthError: API auth error (no login cookies).
Authorization was done using the following code:
vk_session = vk_api.VkApi(login=''79148477382', password='password123') # conditional password and number
vk_session.auth()
vk_api = vk_session.get_api()
I can't figure out what cookies are he wants me to enter
Answer the question
In order to leave comments, you need to log in
Authorization by login and password is an unsupported method and has been working through a stump deck for a long time. OAuth2 should be used.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question