Skip to content
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

Funtion media_info_gql get media error #2058

Open
SwallowData opened this issue Nov 12, 2024 · 2 comments
Open

Funtion media_info_gql get media error #2058

SwallowData opened this issue Nov 12, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@SwallowData
Copy link

SwallowData commented Nov 12, 2024

Try Instagrapi SaaS with a free trial https://hikerapi.com/p/5GBWznd3

Describe the bug
When I get the media data, there is an error in the media_info_gql
public_request 401: https://www.instagram.com/graphql/query/?...

https://www.instagram.com/graphql/query/?variables={"shortcode":"C7EG9eoiP1d","child_comment_count":3,"fetch_comment_count":40,"parent_comment_count":24,"has_threaded_comments":false}&query_hash=477b65c610463740acdb83135b2014db

To Reproduce
media = self.media_info_gql(media_pk)

Desktop (please complete the following information):

  • OS: window 11
  • Python version 3.10.14
  • instagrapi version 2.1.2
@SwallowData SwallowData added the bug Something isn't working label Nov 12, 2024
@sunmasters
Copy link

I think Instagram disabled this endpoint

@SwallowData
Copy link
Author

I think Instagram disabled this endpoint

How to solve the problem now without using private endpoint

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants