postaddictme / instagram-php-scraper

Get account information, photos, videos, stories and comments.
https://packagist.org/packages/raiym/instagram-php-scraper
MIT License
3.09k stars 800 forks source link

Response code is 302. Body: Something went wrong. Please report issue. #959

Open foRsxs opened 3 years ago

foRsxs commented 3 years ago

I got error when try to use code without auth

$instagram = new \InstagramScraper\Instagram(new \GuzzleHttp\Client()); $nonPrivateAccountMedias = $instagram->getMedias('Kevin'); echo $nonPrivateAccountMedias[0]->getLink();

So it's doesn't work?

restyler commented 3 years ago

it will probably work fine from you home network or with high quality residential proxy (but these might be expensive). As another option, take a look at https://github.com/restyler/instagram-php-scraper fork which uses cloud proxy under the hood

aherlambang commented 2 years ago

@foRsxs i also got the 302 error, did you manage to solve it ?

stale[bot] commented 2 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.

aherlambang commented 2 years ago

@restyler i used 4g hq proxy hosted on my house and it didn't solve it as well