pgrimaud / instagram-user-feed

This is a scrapper to easily fetch any feed and interact with Instagram (like, follow, etc.) without OAuth for PHP.
MIT License
872 stars 136 forks source link

Login error #359

Open bugbaal opened 12 months ago

bugbaal commented 12 months ago

Version(s) affected: 6.16.4

Description
Login error

How to reproduce $client = new Client ([ 'proxy' => [ "http" => "my_proxy" ], ]);
$cachePool = new FilesystemAdapter('instagram', 0, DIR . '/cache/' ); $api = new Api($cachePool, $client); $api->login( $insta_username, $insta_password );

The login generate an Instagram Exception: "Unable to extract JSON data"

Any help is appreciated. Thanks

bugbaal commented 11 months ago

I noticed that the problem is in the Login class (Login.php) row: 75 the preg_match returns nothing: preg_match('/ Githubissues.

  • Githubissues is a development platform for aggregating issues.