ping / instagram_private_api

A Python library to access Instagram's private API.
MIT License
2.94k stars 608 forks source link

X-IG-App-ID header #377

Open actuaIIy opened 2 years ago

actuaIIy commented 2 years ago

Before submitting an issue, make sure you have:

Which client are you using?


Describe your Question/Issue:

Hello I am currently trying to get how the X-IG-App-ID header is generated. I know it is a costant in the constants.py file but where does it come from? Thanks in advance.

Andromeda606 commented 2 years ago

https://www.instagram.com/static/bundles/es6/ConsumerLibCommons.js/faada8fcb55f.js

regex: e\.instagramWebDesktopFBAppId='(.*?)'