Answer the question
In order to leave comments, you need to log in
Vkontakte changed authorization through the main one?
Do not read below, nothing has changed, just changed apache2 to lighttpd on the site and it was necessary to set the necessary rights to the folder with cookies). Authorization in VK works the same way.
Previously, for authorization using php, it was necessary to parse the main input fields ip_h and lg_h from the main input field and send a POST request
$post = 'act=login&role=al_frame&expire=&recaptcha=&captcha_sid=&captcha_key=&_origin=https%3A%2F%2Fvk.com'
. '&ip_h=' . $ip_h
. '&lg_h=' . $lg_h
. '&ul=&[email protected]&pass=password';
Answer the question
In order to leave comments, you need to log in
When accessing https://login.vk.com/?act=login , a redirect occurs to https://vk.com/login?&to=&s=0&m=1&email= with code 302.
302 Moved Temporarily (moved temporarily)
For help, 301 - moved permanently. So maybe something will change. But it is not exactly)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question