You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 21, 2023. It is now read-only.
The rank token parameter is missing, so that it's impossible to get all the comments for one post.
Just like, for example, the getUserFollowers() method, it should be :
I encountered 2 small issues with this code, easily fixed :
def checkSettings(self, username): if self.customPath: self.IGDataPath = os.path.join( os.path.join(os.path.dirname(os.path.realpath(__file__)), 'data'), username, '' )
It should be
if not self.customPath:
otherwise everytime a custom path is given, it gets ignored.return CommentResponse(self.http.request("media/" + str(mediaId) + "/comments/?max_id=" + str(maxid) + "&ig_sig_key_version=" + Constants.SIG_KEY_VERSION)[1])
The rank token parameter is missing, so that it's impossible to get all the comments for one post.
Just like, for example, the getUserFollowers() method, it should be :
return CommentResponse(self.http.request("media/" + str(mediaId) + "/comments/?max_id=" + str(maxid) + "&ig_sig_key_version=" + Constants.SIG_KEY_VERSION+ "&rank_token=" + self.rank_token)[1])
The text was updated successfully, but these errors were encountered: