kaex / Insta-mass-account-creator

User Friendly - Instagram Auto Account Creation Bot 🤖
GNU General Public License v3.0
358 stars 161 forks source link

curl_exec() return null #25

Closed Tkd-Alex closed 4 years ago

Tkd-Alex commented 4 years ago

Hi, thanks for your work! I want to try the script but the cur_exec() return null.

if($request == null) echo("is null!"); https://github.com/xosad/Insta-mass-account-creator/blob/master/src/xosad/igGenerator.php#L243

image

Have you any ideas how to handle this?

kaex commented 4 years ago

Can i have the output for this

curl -X POST -d ''  https://www.instagram.com/accounts/web_create_ajax/ -v
Tkd-Alex commented 4 years ago

I've add this on the top of the code:

ini_set('display_errors', 1);
ini_set('display_startup_errors', 1);
error_reporting(E_ALL);

One of the problems it's that the script read the proxy without strip the \n and try to set-up to curl a proxy with new line...

Tkd-Alex commented 4 years ago

With one proxy I've not problem related to the php code

kaex commented 4 years ago

I've add this on the top of the code:

ini_set('display_errors', 1);
ini_set('display_startup_errors', 1);
error_reporting(E_ALL);

One of the problems it's that the script read the proxy without strip the \n and try to set-up to curl a proxy with new line...

Send me the error