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

Uncaught InstagramScraper\Exception\InstagramException: Response code is 302 #976

Closed
atulkumarcse opened this issue Oct 13, 2021 · 8 comments
Labels

Comments

@atulkumarcse
Copy link

Fatal error: Uncaught InstagramScraper\Exception\InstagramException: Response code is 302. Body: Something went wrong. Please report issue. in /var/www/html/insta/src/InstagramScraper/Instagram.php:534 Stack trace: #0 /var/www/html/insta/examples/getAccountByUsername.php(14): InstagramScraper\Instagram->getAccount('kevin') #1 {main} thrown in /var/www/html/insta/src/InstagramScraper/Instagram.php on line 534

@beshoo
Copy link
Contributor

beshoo commented Oct 13, 2021

Are you using any type of proxy ?

@atulkumarcse
Copy link
Author

atulkumarcse commented Oct 13, 2021 via email

@beshoo
Copy link
Contributor

beshoo commented Oct 13, 2021

That's 100% normal.
Instagram blocks your Ip address. and this script will never work on a server without residential proxies.

@beshoo
Copy link
Contributor

beshoo commented Oct 13, 2021

if you are using this library for business, and you need proxies for it, please contact me.
[email protected]

@restyler
Copy link

try using https://github.com/restyler/instagram-php-scraper fork which leverages cloud proxy to avoid headache of managing residential proxies by yourself.

@TimIgoe
Copy link

TimIgoe commented Dec 2, 2021

try using https://github.com/restyler/instagram-php-scraper fork which leverages cloud proxy to avoid headache of managing residential proxies by yourself.

What happened to this project, it 404's now?

@skmachine
Copy link

try using https://github.com/restyler/instagram-php-scraper fork which leverages cloud proxy to avoid headache of managing residential proxies by yourself.

What happened to this project, it 404's now?

404 indeed.. try https://github.com/skmachine/instagram-php-scraper instead - not exactly the same but works fine for most of use cases when you need public data

@stale
Copy link

stale bot commented Mar 2, 2022

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 Mar 2, 2022
@stale stale bot closed this as completed Apr 19, 2022
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

5 participants