How to Read Instagram Chat from the Beginning Using Python – Any Tips or Code Examples?

14 Replies, 895 Views

Yo! I tried this a while back, and honestly, it’s a pain. Instagram’s API doesn’t let you access DMs directly anymore.

But I found a workaround using Instagram Private API (unofficial). It’s a Python library that lets you interact with Instagram’s backend. You can pull chat history, but it’s kinda risky—Instagram might ban your account if they catch you.

If you’re just doing this for a personal project, maybe try it on a dummy account first.

Here’s the GitHub link: [Instagram Private API](https://github.com/ping/instagram_private_api).

Messages In This Thread



Users browsing this thread: 1 Guest(s)