Skip to content
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

Fatal error: Uncaught InstagramScraper\Exception\InstagramAuthException #1119

Open
ItsHass opened this issue Apr 7, 2023 · 6 comments
Open

Comments

@ItsHass
Copy link

ItsHass commented Apr 7, 2023

Hi...
I'm not sure if instagram killed this ?

Let me know if you think i've done a mistake?

@paha77
Copy link

paha77 commented Apr 8, 2023

I can still use it. Sometimes I get InstagramAuthException and have to confirm the new device on my phone but the library is working.

@ItsHass
Copy link
Author

ItsHass commented Apr 8, 2023

Thanks - I will give it another try , any recommendations for best use ?

@joy-dey
Copy link

joy-dey commented Apr 24, 2023

The error I get on trying to log in is
$twofactorAuthenticator must be an instance of TwoFactorAuthenticatorInterface

I guess instagram made it harder. Now every time I try to login they give me a prompt on my devices whether its me logging in or not. Irrespective of what I select from the options they ask me to change password which makes it almost impossible to use as every request sent leads to a password change.

I was trying to download stories with it. If you have any work around, please let me know.

@evil1morty
Copy link

@joy-dey did u fix it ?

@skmachine
Copy link

Thanks - I will give it another try , any recommendations for best use ?

If you just need to retrieve public IG profile info , and last 12 posts, check https://github.com/skmachine/instagram-php-scraper - it does not require your IG auth details and uses cloud proxies to access public data (requires subscription). Note that this new package won't help if you need to extract followers or emails (as these endpoints require authentication).

@joy-dey
Copy link

joy-dey commented Apr 3, 2024

@joy-dey did u fix it ?

Unfortunately no. Any updates on your side?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants