subzeroid / instagrapi

🔥 The fastest and powerful Python library for Instagram Private API 2024
https://hikerapi.com/p/bkXQlaVe
MIT License
4.38k stars 685 forks source link

please add a function to get paginated comments of media with public/private API #614

Open 4bo opened 2 years ago

4bo commented 2 years ago

Currently, there is one function media_comments, which uses v1 API and does not support pagination, Instaloader has a paginated Implementation of GraphQL API. adding this functionality and also pagination for v1 API would make this library more perfect :)

emilio-cea commented 2 years ago

Hi, I just wanted to hop on this thread. Currently the media_comments endpoint will return up to 50 comments right? Is there any endpoint using the GraphQL instead of the v1?

vltclz commented 2 years ago

Hey guys, not sure if that's what you were looking for but I just contributed to the project and added media_comments_chunk method, it's documented here