Answer the question
In order to leave comments, you need to log in
How to click on cURL?
Let's take Instagram for example. There is a subscribe button.
<button class='..." data-reactid=".0.1.0.0:0.1.0.2.0">
curl_setopt($ch, CURLOPT_POSTFIELDS, "Submit=Go%21");
https://instagram.com/USER/?action=unfollow&hl=ru
Answer the question
In order to leave comments, you need to log in
No way, CURL doesn't click, it sends an HTTP request. What you wrote there (submit=go...) is part of the HTTP request body.
Instagram has an HTTP API, and work with it.
You can only click on the screen, the curl does not click, it "follows the links".
The click launches some kind of script, which in turn sends something to the server, you need to figure out what exactly and send the same curl.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question