B
B
bychok3002017-01-16 13:56:17
linux
bychok300, 2017-01-16 13:56:17

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

3 answer(s)
R
Rou1997, 2017-01-16
@bychok300

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.

V
Valentine, 2017-01-16
@vvpoloskin

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

D
Dmitry Dart, 2017-01-16
@gobananas

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 question

Ask a Question

731 491 924 answers to any question