Closed neonpc closed 5 years ago
Hi,
I have the same problem! Any solution?
Hi,
I have the same problem! Any solution?
I found the solution! The maxId here is not referring to the max item ID. It is the max pagination ID. You need to use getPaginateMedias() method if you want to paginate in items. Look at this example https://github.com/postaddictme/instagram-php-scraper/blob/master/examples/paginateAccountMediaByUsername.php
Hi, I have the same problem! Any solution?
I found the solution! The maxId here is not referring to the max item ID. It is the max pagination ID. You need to use getPaginateMedias() method if you want to paginate in items. Look at this example https://github.com/postaddictme/instagram-php-scraper/blob/master/examples/paginateAccountMediaByUsername.php
Hi, thanks for the info. I'll try if I can the next week.
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.
When I try to get medias using the third parameter I get an error.
This is a real example:
$instagram = new \InstagramScraper\Instagram();
$media_data = $instagram->getMedias('netflixes', 20, 1906812552835504063);
This is the error obtained: