pishangujeniya / instagram-helper

Instagram Scripts for Bulk Unsending Direct Messages
https://pishangujeniya.github.io/instagram-helper/
MIT License
218 stars 51 forks source link

Multiple errors (not even 1 message unsent) #47

Closed geekyanky closed 3 years ago

geekyanky commented 3 years ago

Describe the bug I am getting multiple errors including "try tomorrow" and "thread not defined" multiple times, no message unsent

I have followed all steps diligently and also closed chrome ink then relogged in, even made my account public also tried changing the delay to 6500 and even 10500 but didn't work

How can I resolve this issue?

pishangujeniya commented 3 years ago

Check this https://github.com/pishangujeniya/instagram-helper/issues/36#issuecomment-833928380

geekyanky commented 3 years ago

Great, it started working now. But it gets stuck at "all messages fetched, no more messages to fetch" and does not delete any messages.

pishangujeniya commented 3 years ago

Great, it started working now. But it gets stuck at "all messages fetched, no more messages to fetch" and does not delete any messages.

Didn't it show you a message saying that, deleting messages?

geekyanky commented 3 years ago

No it gets stuck after saying 168 messages and "all messages fetched, no more messages to fetch". Screen shot attached. Pls advice.

image

pishangujeniya commented 3 years ago

Why are you running ig.getAll.. You need to run ig.startUns... check readme properly.


var ig = new InstagramHelper();
ig.startUnsending("your_chat_thread_Id");
geekyanky commented 3 years ago

The issue seems to have resolved since I could delete both messages and media.

So just for record-

  1. Insert the chat ID that you want to delete the chat for inside the double quotes
  2. Stay in the chat glance window without clicking the chat when actually running the code (get the chat ID beforehand)

Other tips- The console should not show any error in red before you start; for this purpose, log out, clear complete history for all time (in the chrome Instagram helper shortcut, then log in again)

Thank you @pishangujeniya for your prompt support, code and efforts, nothing similar to this actually exists out there and I will be forever grateful to you for making this project and it being open-source.

pishangujeniya commented 3 years ago

Glad to hear that it helped you.

Tip: If you want to backup your whole conversation into a single file, you can using this https://github.com/pishangujeniya/instagram-helper#-how-to-get-exported-all-messages

It would be better if you can donate if it saved you a lot of time.