Honestly, Instagram’s API is a nightmare for this kind of stuff. I’ve been trying to figure out *how to read instagram chat from beginning using python* for weeks, and it’s been a struggle.
I ended up using Selenium to automate the browser and manually scroll through the chat. It’s not the most elegant solution, but it works.
Just a heads-up: Instagram’s anti-bot measures are pretty aggressive, so you might need to tweak your script a lot to avoid getting flagged.
Good luck, and let us know if you find a better way!
I ended up using Selenium to automate the browser and manually scroll through the chat. It’s not the most elegant solution, but it works.
Just a heads-up: Instagram’s anti-bot measures are pretty aggressive, so you might need to tweak your script a lot to avoid getting flagged.
Good luck, and let us know if you find a better way!
