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

getMediasByTag Not Working #250

Closed absfarah closed 5 years ago

absfarah commented 6 years ago

I believe Instagram has changed the response JSON?

It looks like this: https://gist.github.com/absfarah/39a15138693a479780f05ec705bf6a2f

So that function and perhaps others won't work.

zaivst commented 6 years ago

I confirm this issue

zaivst commented 6 years ago

Instagram get correct response but with changed JSON structure if use request without max_id parameter For example: https://www.instagram.com/explore/tags/agungvolcano/?__a=1

theianjohnson commented 6 years ago

See https://github.com/postaddictme/instagram-php-scraper/pull/251/files for a fix for getMediasByTag() function, which I use for https://tagify.io

zaivst commented 6 years ago

Thanks! It works!

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