-
-
Notifications
You must be signed in to change notification settings - Fork 140
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Login error #359
Comments
I noticed that the problem is in the Login class (Login.php) row: 75 |
PHP Fatal error: Uncaught TypeError: property_exists(): Argument #1 ($object_or_class) must be of type object|string, null given in /var/www/mon/vendor/pgrimaud/instagram-user-feed/src/Instagram/Auth/Login.php:116 |
I get the same error "First parameter must either be an object or the name of an existing class". $response is returning null, the $query doesn't seem to contain a compatible payload anymore. |
After some var_dump found that cookies are not set :
|
https://github.com/pgrimaud/instagram-user-feed/pull/364/files can you test it ? |
@n1crack No it's not working, same error, as i see now csrf is extracted. Another things, |
Same error message: "First parameter must either be an object or the name of an existing class". However just in production. Local works fine. Prob blocking the IP of my server. |
I got the same err PHP Fatal error: Uncaught TypeError: property_exists(): Argument #1 ($object_or_class) must be of type object|string, null given in /home/farhamdev/public_html/instagram/vendor/pgrimaud/instagram-user-feed/src/Instagram/Auth/Login.php:116 Please tell us, how can we fix this? @pgrimaud EDIT: As humans when entering Instagram.com, we will wait for a few seconds until Instagram web shows us its fully loaded page But this robot doesn't. I think this may be the problem here. |
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
The text was updated successfully, but these errors were encountered: