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.
I confirm this issue
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
See https://github.com/postaddictme/instagram-php-scraper/pull/251/files for a fix for getMediasByTag() function, which I use for https://tagify.io
Thanks! It works!
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.
Most helpful comment
See https://github.com/postaddictme/instagram-php-scraper/pull/251/files for a fix for getMediasByTag() function, which I use for https://tagify.io