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
880 stars 137 forks source link

property_exists(): Argument #1 ($object_or_class) must be of type object|string, null #352

Open esedArk opened 1 year ago

esedArk commented 1 year ago

Version(s) affected: 6.16.4

Description
property_exists(): Argument #1 ($object_or_class) must be of type object|string, null given {"userId":1,"exception":"[object] (TypeError(code: 0): property_exists(): Argument #1 ($object_or_class) must be of type object|string, null given at /var/www/stalkeator/vendor/pgrimaud/instagram-user-feed/src/Instagram/Auth/Login.php:116) A clear and concise description of the problem.

How to reproduce
Login with Proxy (working)

pmrzygweb commented 1 year ago

Is this issue fixed yet?

esedArk commented 1 year ago

Is this issue fixed yet?

Nope 😞

lucasalerv commented 1 year ago

In my case, it was due to the proxy I was using, perhaps it is blocked by Instagram, and the server response when trying to log in is "null". I tried with the proxies from webshare.io and it worked.

michelmelo commented 1 year ago

I also have the same problem, from the debug I did it can log in. but then it cannot show the login details.

jofreyswb commented 8 months ago

The same. Don't have any answers for that