A
A
Alex2018-08-24 12:04:06
Python
Alex, 2018-08-24 12:04:06

How to get direct messages on instagram?

I tried using the "direct_v2/inbox/?" method, but it returns a legacy app warning "Your Instagram app is out of date. Update it now to use Direct."
I am using python|instagrambot library

bot = Bot()
bot.login(username='username', password='password')
mes = bot.get_messages()

How can you get the contents of direct inbox now?
UPD1: Connected via charles and bluestacks. When you open a list of messages in direct, the call is made not to -i.instagram.com, but to graph.instagram.com - to find out what it transmits ...

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Danny Belchenko, 2018-09-06
@Alex_woland

I use InstagramAPI and solved the problem by simply changing the version of the Instagram app to 50 in the library code

A
Artyom Innokentiev, 2018-10-02
@artinnok

Alexander , can you pliz send a link to the library you use?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question