This repository has been archived by the owner on Feb 25, 2024. It is now read-only.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I also wrote an Instagram API but in C++ which you can see as it is open source too. When copying the endpoints from other repositories I recognized that it seems to me that the concerned endpoint in this pull request seems to cause problems. In my case the Instagram servers returned an error. I think it was status code 301 with no response body but I cannot assure that but I think it was that.
I assume that you copied from mpg25/Instagram-API and he does the same: https://github.com/mgp25/Instagram-API/blob/master/src/Request/People.php (line 128)
I tried out ping's endpoint with query string which worked for me: https://github.com/ping/instagram_private_api/blob/0fda0369ac02bc03d56f5f3f99bc9de2cc25ffaa/instagram_private_api/endpoints/misc.py#L77
It is your decision: For me your and mpg25's solution did not work.
PS: How did you manage to get Instagram's endpoints?! It is such a torture to do that. I tried it for like 3 week with every possible solution I found on the Internet and nothing worked. I described what I did in my wiki if you are interested: https://github.com/Spixmaster/instagram-private-api/wiki