subzeroid / instagrapi

🔥 The fastest and powerful Python library for Instagram Private API 2024
https://hikerapi.com/p/bkXQlaVe
MIT License
4.4k stars 688 forks source link

Funtion media_info_gql get media error #2058

Open SwallowData opened 1 week ago

SwallowData commented 1 week ago

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):

sunmasters commented 5 days ago

I think Instagram disabled this endpoint

SwallowData commented 4 days ago

I think Instagram disabled this endpoint

How to solve the problem now without using private endpoint