New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Forbidden #67
Comments
@Haydardi Your issue report does not conform to the issue template that has been specified for this repo: Please edit your issue to comply with the template requirement. This issue will be closed after 24 hours if no followup action is taken. [This comment is auto-generated. ref=notemplate] |
The same issue, it seems that access to this url has been forbade by instagram. |
Alright, have done it. Let me know if this is okay now |
Is it possible to try another url approach you think? |
I solved this problem. I will send a pull request soon. |
I wrote small helpful function:
It is not good solution, but it's work good. And it works slower in twice than old method. |
@Haydardi Please fix your issue template. You didn't post the code used, you only posted the error trackback, so I cannot tell if you're using an authenticated or unauthenticated client. @2minchul Thanks for your PR but I already have a similar fix in my local repo, which I'm not pushing out because there's still a bug. Can you test if your fix works when the user is authenticated? In my testing, this works only if the user is unauthenticated (no login). When the user is authenticated, it's still a 403. |
@ping You're right, forgot to write about that. I have updated the issue again. Short answer, I'm using the unauthenticated client. |
@2minchul Your fix works wonders in my case (unauthenticated client)! |
Improve debug log for requests. Update login.
This should be fixed in cc2119b. |
This issue happened again. |
Awesome! Thanks a lot. Quick question. I would love to contribute to this project, especially the web API, but I’m new to this area. What libraries/frameworks should I read about in or to fully understand the web API? |
Are Instagram watching this project or something? There's been a number of changes in rapid succession over the past several days, and I've been using this project as a guideline on how to access the unauthenticated endpoints for my own project. Thanks to @ping and @2minchul for all the work so far. And hello Instagram devs! 😁👋 |
Bad news... I'm still getting the same Forbidden error. What to do? |
Before submitting an issue, make sure you have:
Which client are you using?
instagram_private_api/
)instagram_web_api/
)Purpose of your issue?
Issue reproduction: I'm using the un-authorized access:
web_api = Client(auto_patch=False, drop_incompat_keys=False)
user_info = _get_user_info('haydar.aimon')
For a bug report, you must include the Python version used, code that will reproduce the error, and the error log/traceback.
Paste the output of
python -V
here:Code:
Error/Debug Log:
Describe your issue
Thank you for this amazing web api, however I'm starting to get:
urllib.error.HTTPError: HTTP Error 403: Forbidden
on all of my requests. Did Instagram block access to this api? What can I do to resolve this issue?
The text was updated successfully, but these errors were encountered: