romainflcht / igdm_terminal

Instagram DM into your console !
2 stars 1 forks source link
instagram messaging python

igdm_terminal

This project allows you to see your instagram direct messages on your terminal :)

Abandonned...

After several attempts, I have decided to abandon this project due to Instagram's highly advanced automatic behavior detection... Unfortunately, I don't have the time or determination to reverse-engineer their requests and bypass these restrictions.

If you feel up to the challenge, don't hesitate to take over! This project is close to my heart, and I'd love to see it completed.πŸ™‚

Installation

To install all the necessary libraries, you will need to use:

pip install -r requirements.txt

Execution

To start the program execute the main.py file.

Login

To link your Instagram account to this program, you will need to obtain your sessionid and csrftoken. Open your web browser, log into your Instagram account, and search for the cookies used by Instagram. Inside, you will find your sessionid and csrftoken.

Once you have those, you can run the main.py file and enter your login information when prompted.

login successful
Login successful !

your login information can be saved as either:

Tweaks

You can choose how many threads and items are displayed during runtime. To change those values, modify the two lines in the main.py file.

CONV_INBOX_NB = 20 # Will display 20 conversations in the inbox menu. 
CONV_ITEMS_NB = 30 # Will display 30 items in the selectec conversation. 

Enjoy :)

Here is some screenshots of the program running :

inbox
Inbox

conversation
Conversations

(proudly) Supported features :

Licence