OlegYurchik / pyInstagram

This is a simple and easy-to-use library for interacting with the Instagram. The library works through the web interface of the Instagram and does not depend on the official API
MIT License
232 stars 49 forks source link

Getting comments for posts with [has_ranked_comments = True] #77

Closed survtur closed 2 years ago

survtur commented 4 years ago

In order to get comments of posts with [has_ranked_comments = True] you have to use new query_hash. This new query is compatible with [has_ranked_comments = False] posts too. Also variable "after" in this query became more complex string. Now it may have quotes in it to they have to be escaped. The simplest way i found is json.dumps().

survtur commented 4 years ago

Note: I suppose there should be some changes for async function too.

OlegYurchik commented 4 years ago

But after - it is string now, right?