postaddictme / instagram-php-scraper

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

still getMediaCommentsByCode() 405 error #176

Closed pinotarantino closed 6 years ago

pinotarantino commented 6 years ago

Hello, I red that the bug about getMediaCommentsByCode() has been fixed on nov. 16, but I still get the 405 error, even if I have the last scraper version installed (0.5.0). I this coul help, I set "Unirest\Request::verifyPeer(false);" in my script...and I must set this also to avoid error: "$model = new Instagram(); $comments = $model->getMediaCommentsByCode('BG3Iz-No1IZ', 100);" My environment is a wamp.

Thank you in advance...

P;)

pinotarantino commented 6 years ago

Sorry Raym, I didn't upgrade my scraper version, now I have 0.6.1 version and all works...consider closed my issue...

Thanks and sorry again! P,)

raiym commented 6 years ago

@pinotarantino no problem