Answer the question
In order to leave comments, you need to log in
How to like VK using curl?
As I understand it, you need to intercept the request that flies to the server, take these parameters and substitute them in the curl?
Answer the question
In order to leave comments, you need to log in
In general, it’s correct, but strictly speaking, not the parameters, but the URL of the HTTP request, all its headers, the body if POST and parameters if GET, and how to track this is also a question, there are many ways, Fiddler is most convenient on Windows, but you can use, for example, debugging in Chrome DevTools, the simplest sniffer is written independently in ten lines of code, if you worked with AJAX and in general Front-end, it will be much easier.
In some firebug (Firefox) look at the request parameters when like (headers and parameters), generate a request with these curl parameters. Don't forget to log in first and use the same cookies
With curl you will only install it via the API, in particular using the https://vk.com/dev/likes.add method
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question