postaddictme / instagram-php-scraper

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

Code throws 302 error on production server but works fine on local server. #1040

Open CodePackets opened 2 years ago

CodePackets commented 2 years ago

methode used: $instagram->getAccountInfo($user); Exception Caught: PHP Fatal error: Uncaught InstagramScraper\Exception\InstagramException: Response code is 302. Body: Something went wrong. Please report issue. in /home1/zoominst/public_html/vendor/raiym/instagram-php-scraper/src/InstagramScraper/Instagram.php:595

Notes: The scrapper Seems to work fine on local server but throws the above exception on production server which results in 500 server in the browser. But in logs it shows actually the above exception. error browser view log file view

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.