Skip to content
This repository has been archived by the owner on Feb 29, 2024. It is now read-only.

Unusual Thread ID - It's shorter than usual #95

Open
idkasd1 opened this issue May 2, 2023 · 43 comments
Open

Unusual Thread ID - It's shorter than usual #95

idkasd1 opened this issue May 2, 2023 · 43 comments
Assignees
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@idkasd1
Copy link

idkasd1 commented May 2, 2023

Im getting Error and cant load the script even though im using this Disable Content-Security-Policy Extension.

image

@idkasd1 idkasd1 added the bug Something isn't working label May 2, 2023
@idkasd1
Copy link
Author

idkasd1 commented May 2, 2023

oh it shows to everyone , and the script working normally
so what's the problem now ?

@idkasd1
Copy link
Author

idkasd1 commented May 2, 2023

im testing the script everyday dude im tired , i cant fix it , and i need this script hardly

@pishangujeniya
Copy link
Owner

@idkasd1 please follow the readme properly.

Script is working fine.

@pishangujeniya
Copy link
Owner

@idkasd1 you can ignore the first error.

@idkasd1
Copy link
Author

idkasd1 commented May 3, 2023

I read it more than time
here's what I do

  1. open .vbs and select the Temp Folder that i just made
  2. open shortcut chrome add the tool
  3. open instagram.com and turn on the tool turn to pink
  4. login
  5. go to random chat
  6. F12 then console
  7. Refresh Site
  8. put the script
  9. Enter
    This is what i do
    Is there anything wrong ?

@pishangujeniya
Copy link
Owner

pishangujeniya commented May 4, 2023

@idkasd1 status code is 404, so error saying that failed to find the Thread ID.

Can you make sure that the thread ID which you entering in the prompt is correct, as per the screenshot in the README?

@idkasd1
Copy link
Author

idkasd1 commented May 6, 2023

I typed it perfectly
image

@pishangujeniya
Copy link
Owner

Seems Like you are only getting weird issues.

Once you get this error, go to Network tab and find the 404 status code Request and click on it. Send the screenshot let's see what is the request made by the script in your case.

@idkasd1
Copy link
Author

idkasd1 commented May 6, 2023

image
image

@pishangujeniya
Copy link
Owner

@idkasd1 seems like your thread ID is incorrect.

You are passing a wrong value.

Usually thread IDs are longer than this.

Please check your chat page URL, at the end there will be thread ID.

@idkasd1
Copy link
Author

idkasd1 commented May 6, 2023

yea idk what's wrong why my id is short even if i refreshed the site

@pishangujeniya
Copy link
Owner

Can you scroll up your chat, and check the network tab, is there any request going with link having word cursor?

Can you provide screenshot and details of it?

@pishangujeniya pishangujeniya changed the title Refused to load the script Unusual Chat ID - It's shorter than usual May 6, 2023
@pishangujeniya pishangujeniya changed the title Unusual Chat ID - It's shorter than usual Unusual Thread ID - It's shorter than usual May 6, 2023
@idkasd1
Copy link
Author

idkasd1 commented May 6, 2023

image

@idkasd1
Copy link
Author

idkasd1 commented May 6, 2023

When I scroll up the size of the file is increasing

image

@pishangujeniya
Copy link
Owner

Sorry, but unless i get this same scenario i can't fix it.

Sorry this script won't be useful in this chat thread.

@idkasd1
Copy link
Author

idkasd1 commented May 6, 2023

yea you r right , first time i used the tool it was long chat thread idk what happened to it to been short like this
anyway i will close the issue
Thanks for help man <33

@pishangujeniya
Copy link
Owner

@idkasd1 I need to find a solution to your problem, as there has been an another user also faced the problem.

This weekend will be working on this to find the solution and release a new script version that works with latest updates.

@idkasd1
Copy link
Author

idkasd1 commented May 12, 2023

@pishangujeniya did u find a solution >?

@pishangujeniya
Copy link
Owner

@idkasd1 no solution yet, because I am getting longer thread id instead like yours.

Sorry, still not able to fingure out, how you are getting such short thread id.

@idkasd1
Copy link
Author

idkasd1 commented May 14, 2023

how you are getting such short thread id.

idk , first time i use the tool my id thread was long after some days it changed to short one without no reason , its weird i know :)

@idkasd1
Copy link
Author

idkasd1 commented May 14, 2023

I need this tool so much , If u know another tool or something tell me please
thx tho

@pishangujeniya
Copy link
Owner

@idkasd1 keep eye on network tab list while you are scroll up in the chat to load messages.

Every time you scroll you will see a request to get messages from cursor will be sent by instagram, can you please provide the screenshot of those request.

Repository owner deleted a comment from idkasd1 May 15, 2023
@idkasd1
Copy link
Author

idkasd1 commented May 22, 2023

Every time i scroll up the kb increased and make more requests
image

@pishangujeniya
Copy link
Owner

When you click on any of the request, i want to see the right side part of it.

@idkasd1
Copy link
Author

idkasd1 commented May 23, 2023

Here's some idk which one u want
image
image
image
image

@pishangujeniya
Copy link
Owner

Not these,

See in the network tab, there will be a filter above these requests with the tiltes such as All, Xhr, Images, JS WS, fonts, etc, and many others.

Just click on XHR, and then go scroll up your chat a lot above. Everytime when you scroll up, the instagram will make a XHR request with the chat thread ID. Using this what i am trying to figure out is which thread ID instagram itself is using the long one or the short one.

I want to know the request made when you scroll a lot above, while the network tab is open. I guess it should make request with some word such as cursor.

@idkasd1
Copy link
Author

idkasd1 commented May 23, 2023

yea i got ittt bro
Its a long one , when i copy and paste it , it changed auto to hash same as first
i enter any chat and do the same and i will copy the id and retry to use the tool

@idkasd1
Copy link
Author

idkasd1 commented May 23, 2023

Look , I got this link from requests this is the only one which shows the id if u can see it
17843691127146670:1684010949
they put the : to make the number visible 17SUf7F65grAa2uj2Kj8ng6rLWNah4Y5x6 see this is what happen if i remove the :
I tried to use it in the tool but nothing work idk what to do
image

@pishangujeniya
Copy link
Owner

Bro, I got it, this happened with me when i was even typing it in notepad.

Its I guess the bug of copy paste.

Try to type each character one by one in the box which asks for the thread ID.

When you open the chat the url at the top will have the thread ID which will be longer, but when you copy and then paste it in the box it becomes different and shorter.

Just type the ID from the url by seeing and then typing each letter character manually in the box which asks for the thread ID of Instagram Helper. I hope it will work.

@idkasd1
Copy link
Author

idkasd1 commented May 24, 2023

yea i know i know i just telling u that to prove that is the real long thread ID
I typed it yesterday and the script still not working

@pishangujeniya
Copy link
Owner

Can you try on some another computer?

@itschotu
Copy link

Hello, i have the same problem too, it doesn't work for me either. Same error.

@itschotu
Copy link

image

@itschotu
Copy link

the thread iD is short, there is no long thread ID.

@Preppyprep
Copy link

Preppyprep commented Jun 1, 2023

@pishangujeniya I want it to be on this device. I don't want to try it on other device. Can you just help us rather than leave this post as it is.

@pishangujeniya pishangujeniya added the help wanted Extra attention is needed label Jun 1, 2023
@UmarBegg
Copy link

UmarBegg commented Jun 5, 2023

@pishangujeniya I'm also having this issue, happy zoom call and share screen to show you if you need.

@idkasd1
Copy link
Author

idkasd1 commented Jun 6, 2023

alright we are a lot guys :)))
I hope we can find a soultion

@pishangujeniya
Copy link
Owner

@UmarBegg Let's connect and schedule a meeting with me. https://calendly.com/pishangujeniya/

@miloscu
Copy link

miloscu commented Jun 8, 2023

@pishangujeniya
chat now works over websockets. It will open a connection like
wss://edge-chat.instagram.com/chat?sid=8553407468011519&cid=aca2bbac-01f8-4a31-b4e0-185c2330a4de

and the thread IDs and message IDs will be buried somewhere. look for "big" socket messages

example:
{ "request_id": null, "payload": { "name": null, "step": [ 1, [ 1, [ 4, 0, 1, [ 5, "mciTraceLog", [ 19, "600" ], "MCITraceUnsampledEventTraceId", [ 9 ], [ 19, "0" ], [ 9 ], "DatascriptExecute_SyncGroup_ServerTrace:1", [ 19, "9" ] ] ] ], [ 1, [ 4, 0, 1, [ 5, "executeFirstBlockForSyncTransaction", [ 19, "1" ], [ 19, "7072585424979190618" ], "HCwAABa-jhkW1pLF0AwTBRaqorGW1LyyPwA", "HCwAABbAjhkW1pLF0AwTBRaqorGW1LyyPwA", [ 19, "2" ], false, [ 19, "0" ], false, [ 19, "1" ], [ 9 ] ] ], [ 23, [ 2, 0 ], [ 1, [ 1, [ 5, "upsertMessage", "Jesi li ti pogledao gore \\u0161ta sam ti sve ja slala", [ 9 ], [ 19, "80" ], [ 19, "17842021868538256" ], [ 19, "0" ], [ 19, "1685278041923" ], [ 19, "1685278041923" ], [ 9 ], "mid.$cAAAHy87qoQWOk6tvQ2IYmYp7sGVI", "7068568435217687880", [ 19, "17842021868538256" ], [ 9 ], false, [ 19, "0" ], [ 19, "2" ], [ 19, "2" ], false, [ 9 ], [ 9 ], [ 9 ], [ 9 ], [ 9 ], [ 9 ], [ 9 ], [ 9 ], [ 9 ], [ 9 ], [ 9 ], [ 9 ], [ 9 ], [ 9 ], [ 9 ], [ 9 ], [ 9 ], [ 9 ], [ 9 ], [ 9 ], [ 9 ], [ 9 ], [ 9 ], [ 9 ], false, [ 9 ], false, [ 9 ], [ 9 ], [ 9 ], [ 19, "3" ], false, [ 19, "0" ], [ 19, "1" ], [ 9 ], [ 9 ], [ 19, "0" ], [ 9 ], [ 9 ], [ 9 ], [ 9 ], [ 9 ], [ 9 ], false ] ], [ 1, [ 5, "setForwardScore", [ 19, "17842021868538256" ], "mid.$cAAAHy87qoQWOkr0-eWIYXf4Y1Lhm", [ 19, "1685262431865" ], [ 9 ] ] ], [ 1, [ 5, "setMessageDisplayedContentTypes", [ 19, "17842021868538256" ], "mid.$cAAAHy87qoQWOkr0-eWIYXf4Y1Lhm", [ 19, "1685262431865" ], "Da hahaha", false, false ] ], [ 1, [ 5, "insertNewMessageRange", [ 19, "17842021868538256" ], [ 19, "1685262431865" ], [ 19, "1685351587288" ], "mid.$cAAAHy87qoQWOkr0-eWIYXf4Y1Lhm", "mid.$cAAAHy87qoQWOmA2l2GIZshZ5s4NX", [ 19, "1685262431865" ], [ 19, "1685355932889" ], true, true, [ 9 ] ] ], [ 1, [ 5, "upsertSequenceId", [ 19, "205728" ] ] ] ] ] ], [ 1, [ 1, [ 5, "executeFinallyBlockForSyncTransaction", false, [ 19, "1" ], [ 19, "7072585424979190618" ] ] ], [ 1, [ 4, 0, 1, [ 5, "mciTraceLog", [ 19, "601" ], "MCITraceUnsampledEventTraceId", [ 9 ], [ 19, "0" ], [ 9 ], [ 9 ], [ 19, "9" ] ] ] ] ] ] }, "sp": [ "mciTraceLog", "executeFirstBlockForSyncTransaction", "upsertMessage", "updateReadReceipt", "insertXmaAttachment", "insertAttachmentItem", "upsertReaction", "setForwardScore", "setMessageDisplayedContentTypes", "getFirstAvailableAttachmentCTAID", "insertAttachmentCta", "updateAttachmentItemCtaAtIndex", "updateAttachmentCtaAtIndexIgnoringAuthority", "insertNewMessageRange", "upsertSequenceId", "executeFinallyBlockForSyncTransaction" ], "target": 3 }

the array of arrays which contains 'upsertmessage' is the meat and potatoes. inside, you will find something like mid.$cAAAHy87qoQWOkr0-eWIYXf4Y1Lhm

afterwards, the unsend message socket emit will look something like

2..../ls_req.*{ "app_id": "936619743392459", "payload": { "tasks": [ { "label": "33", "payload": {\\"message_id\\":\\"mid.$cAAAHvhog5IyOWjiFVWIKPM67gMn1\\" }","queue_name":"unsend_message","task_id":109,"failure_count":null}],"epoch_id":7072584724001406000,"version_id":"6011885498940893"},"request_id"

of course, this is all binary.

@Preppyprep
Copy link

@pishangujeniya chat now works over websockets. It will open a connection like wss://edge-chat.instagram.com/chat?sid=8553407468011519&cid=aca2bbac-01f8-4a31-b4e0-185c2330a4de

and the thread IDs and message IDs will be buried somewhere. look for "big" socket messages

example: { "request_id": null, "payload": { "name": null, "step": [ 1, [ 1, [ 4, 0, 1, [ 5, "mciTraceLog", [ 19, "600" ], "MCITraceUnsampledEventTraceId", [ 9 ], [ 19, "0" ], [ 9 ], "DatascriptExecute_SyncGroup_ServerTrace:1", [ 19, "9" ] ] ] ], [ 1, [ 4, 0, 1, [ 5, "executeFirstBlockForSyncTransaction", [ 19, "1" ], [ 19, "7072585424979190618" ], "HCwAABa-jhkW1pLF0AwTBRaqorGW1LyyPwA", "HCwAABbAjhkW1pLF0AwTBRaqorGW1LyyPwA", [ 19, "2" ], false, [ 19, "0" ], false, [ 19, "1" ], [ 9 ] ] ], [ 23, [ 2, 0 ], [ 1, [ 1, [ 5, "upsertMessage", "Jesi li ti pogledao gore \\u0161ta sam ti sve ja slala", [ 9 ], [ 19, "80" ], [ 19, "17842021868538256" ], [ 19, "0" ], [ 19, "1685278041923" ], [ 19, "1685278041923" ], [ 9 ], "mid.$cAAAHy87qoQWOk6tvQ2IYmYp7sGVI", "7068568435217687880", [ 19, "17842021868538256" ], [ 9 ], false, [ 19, "0" ], [ 19, "2" ], [ 19, "2" ], false, [ 9 ], [ 9 ], [ 9 ], [ 9 ], [ 9 ], [ 9 ], [ 9 ], [ 9 ], [ 9 ], [ 9 ], [ 9 ], [ 9 ], [ 9 ], [ 9 ], [ 9 ], [ 9 ], [ 9 ], [ 9 ], [ 9 ], [ 9 ], [ 9 ], [ 9 ], [ 9 ], [ 9 ], false, [ 9 ], false, [ 9 ], [ 9 ], [ 9 ], [ 19, "3" ], false, [ 19, "0" ], [ 19, "1" ], [ 9 ], [ 9 ], [ 19, "0" ], [ 9 ], [ 9 ], [ 9 ], [ 9 ], [ 9 ], [ 9 ], false ] ], [ 1, [ 5, "setForwardScore", [ 19, "17842021868538256" ], "mid.$cAAAHy87qoQWOkr0-eWIYXf4Y1Lhm", [ 19, "1685262431865" ], [ 9 ] ] ], [ 1, [ 5, "setMessageDisplayedContentTypes", [ 19, "17842021868538256" ], "mid.$cAAAHy87qoQWOkr0-eWIYXf4Y1Lhm", [ 19, "1685262431865" ], "Da hahaha", false, false ] ], [ 1, [ 5, "insertNewMessageRange", [ 19, "17842021868538256" ], [ 19, "1685262431865" ], [ 19, "1685351587288" ], "mid.$cAAAHy87qoQWOkr0-eWIYXf4Y1Lhm", "mid.$cAAAHy87qoQWOmA2l2GIZshZ5s4NX", [ 19, "1685262431865" ], [ 19, "1685355932889" ], true, true, [ 9 ] ] ], [ 1, [ 5, "upsertSequenceId", [ 19, "205728" ] ] ] ] ] ], [ 1, [ 1, [ 5, "executeFinallyBlockForSyncTransaction", false, [ 19, "1" ], [ 19, "7072585424979190618" ] ] ], [ 1, [ 4, 0, 1, [ 5, "mciTraceLog", [ 19, "601" ], "MCITraceUnsampledEventTraceId", [ 9 ], [ 19, "0" ], [ 9 ], [ 9 ], [ 19, "9" ] ] ] ] ] ] }, "sp": [ "mciTraceLog", "executeFirstBlockForSyncTransaction", "upsertMessage", "updateReadReceipt", "insertXmaAttachment", "insertAttachmentItem", "upsertReaction", "setForwardScore", "setMessageDisplayedContentTypes", "getFirstAvailableAttachmentCTAID", "insertAttachmentCta", "updateAttachmentItemCtaAtIndex", "updateAttachmentCtaAtIndexIgnoringAuthority", "insertNewMessageRange", "upsertSequenceId", "executeFinallyBlockForSyncTransaction" ], "target": 3 }

the array of arrays which contains 'upsertmessage' is the meat and potatoes. inside, you will find something like mid.$cAAAHy87qoQWOkr0-eWIYXf4Y1Lhm

afterwards, the unsend message socket emit will look something like

2..../ls_req.*{ "app_id": "936619743392459", "payload": { "tasks": [ { "label": "33", "payload": {\\"message_id\\":\\"mid.$cAAAHvhog5IyOWjiFVWIKPM67gMn1\\" }","queue_name":"unsend_message","task_id":109,"failure_count":null}],"epoch_id":7072584724001406000,"version_id":"6011885498940893"},"request_id"

of course, this is all binary.

Is this a solution or just an aid for the diagnosis for @pishangujeniya? @miloscu

@pishangujeniya
Copy link
Owner

@Preppyprep its helping in diagnosis, but it is clear that whole code is useless, nothing will work as of now, because of this.

So, it is now tough to do automation by the user itself without providing credentials of account to the script.

So, I am thinking on re-developing whole from scratch, but this time it will be in need of credentials most probably. Do not worry, the tool or program never stores credentials anywhere it will just mimick the actions, but I feel that with this approch, there will be some people who will not trust our tool and will have concerns in providing credentials.

No decisions yet.

I am looking for remote job as of now as software developer, so not able to focus on this. If you can refer me then it will be very much helpful.

@pishangujeniya
Copy link
Owner

As of now, a person has provided a temporary solution - #101 (comment)

I haven't tested personally, but someone can at least try.

@Ev1lT3rm1nal
Copy link

Any update on this?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

7 participants