Open sbr2567 opened 4 years ago
Why instagram only returns 49 per request.
For several requests, use the end_pointer system, the page, each request as a page, returns a new page, with more than 49 results.
Define a global variable with name "globalPointer", and after every request, memorize the pointer, and execute new request with the new pointer.
Okay, and this can also be achieved for comment sections too?
On Sun, 28 Jun 2020, 6:21 am codexJoin, notifications@github.com wrote:
Why instagram only returns 49 per request.
For several requests, use the end_pointer system, it is a "pager", each request made with the pager, returns a new page, with 49 more results.
Define a global variable with name "globalPointer", and after every request, memorize the pointer, and execute new request with the new pointer.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/jlobos/instagram-web-api/issues/155#issuecomment-650617986, or unsubscribe https://github.com/notifications/unsubscribe-auth/AO4732TKWRUEUQBTHAIGQ5DRYZIEZANCNFSM4OJ7RFUQ .
Ok, e isso também pode ser alcançado para seções de comentários também? ... On Sun, 28 Jun 2020, 6:21 am codexJoin, @.***> wrote: Why instagram only returns 49 per request. For several requests, use the end_pointer system, it is a "pager", each request made with the pager, returns a new page, with 49 more results. Define a global variable with name "globalPointer", and after every request, memorize the pointer, and execute new request with the new pointer. — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub <#155 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AO4732TKWRUEUQBTHAIGQ5DRYZIEZANCNFSM4OJ7RFUQ .
Yes. Remember, the instagram limits the results per request. In case of comments is 49.
I'm very confused while we're not able to get more then 49 comments per request. You don't really offer an explanation in the documentation. If it's the case of limiting the calls to stay undetected, I get it. But it would be very useful if we could at least get more comments in the form of multiple separate requests within those boundaries. So go through 1,000 comments, but retrieve only 49 per request until reaching the bottom.
Can this become a possibility?
Thanks.