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
882 stars 138 forks source link

two factor #237

Closed Bazzastyle closed 3 years ago

Bazzastyle commented 3 years ago

Version(s) affected: 6.10.0

Additional context

PHP Fatal error: Uncaught Instagram\Exception\InstagramAuthException: Unknown error, please report it with a GitHub issue. Client error: POST https://www.instagram.com/accounts/login/ajax/ resulted in a 400 Bad Request response: {"message":"","two_factor_required":true,"two_factor_info":{"pk":...,"username":"...","sms_two_fact (truncated...) in /var/www/bot/vendor/pgrimaud/instagram-user-feed/src/Instagram/Auth/Login.php:104 Stack trace:

0 /var/www/bot/vendor/pgrimaud/instagram-user-feed/src/Instagram/Api.php(121): Instagram\Auth\Login->process()

1 /var/www/bot/ProjectOneXBot/ig_user.php(10): Instagram\Api->login()

2 {main}

thrown in /var/www/bot/vendor/pgrimaud/instagram-user-feed/src/Instagram/Auth/Login.php on line 104

pgrimaud commented 3 years ago

It seems you have a 2FA on this account. Email or SMS ?

lucasdelavrapinto commented 3 years ago

It seems you have a 2FA on this account. Email or SMS ?

I had the same problem, Its SMS for me.

stale[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.