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

InstagramAuthException Error #278

Closed
evah opened this issue Feb 26, 2018 · 4 comments
Closed

InstagramAuthException Error #278

evah opened this issue Feb 26, 2018 · 4 comments
Labels

Comments

@evah
Copy link

evah commented Feb 26, 2018

I ran the command php -f getAccountById.php in the examples folder and got the following error.

PHP Fatal error: Uncaught InstagramScraper\Exception\InstagramAuthException: Something went wrong. Please report issue. in /development/work/image_analysis/porsche/instagram-php-scraper/src/InstagramScraper/Instagram.php:1056
Stack trace:
#0 /development/work/image_analysis/porsche/instagram-php-scraper/examples/getAccountById.php(9): InstagramScraper\Instagram->login()
#1 {main}
thrown in /development/work/image_analysis/porsche/instagram-php-scraper/src/InstagramScraper/Instagram.php on line 1056

@Simos455
Copy link

got the same error today

@andriy063
Copy link

andriy063 commented Mar 18, 2018

the same error when I try to login

$instagram = \InstagramScraper\Instagram::withCredentials('login', 'pwd', __DIR__.'/cache');
$instagram->login();

Instagram is blocking auth request through security reasons

Here is what I got when I tried to access my account in browser: https://imgur.com/a/LN4Qg

@rcobelli
Copy link

rcobelli commented Apr 8, 2018

I was able to fix this using the official Instagram app. Just open the app (assuming it is logged into the same account as InstagramScraper) and when the app alerts you to suspicious login attempts, allow the login attempt.

@stale
Copy link

stale bot commented Apr 17, 2019

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.

@stale stale bot added the wontfix label Apr 17, 2019
@stale stale bot closed this as completed Apr 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants