I was able to log in vk.com using cURL, but then a new question arose, which is already an hour can't find a solution. I want to put like on the photo. For this you wish to send a POST request to the server vk.com with some parameters (ID, pictures, etc.). One of these parameters is a hash. How and what was the form of hashed of course, I don't know. But in another case. In the HTML source code I can't find this hash. Clicking on like is triggered the function "Photoview.like()". The function takes no parameters. Inside funtion hash is taken from a global variable ph. I originally planned to parse the page and send the request with hash, but I can't understand where this hash. Maybe someone has already seen this, where do I find this hash?