Open idkasd1 opened 1 year ago
oh it shows to everyone , and the script working normally so what's the problem now ?
im testing the script everyday dude im tired , i cant fix it , and i need this script hardly
@idkasd1 please follow the readme properly.
Script is working fine.
@idkasd1 you can ignore the first error.
I read it more than time here's what I do
@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?
I typed it perfectly
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 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.
yea idk what's wrong why my id is short even if i refreshed the site
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?
When I scroll up the size of the file is increasing
Sorry, but unless i get this same scenario i can't fix it.
Sorry this script won't be useful in this chat thread.
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
@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.
@pishangujeniya did u find a solution >?
@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.
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 :)
I need this tool so much , If u know another tool or something tell me please thx tho
@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.
Every time i scroll up the kb increased and make more requests
When you click on any of the request, i want to see the right side part of it.
Here's some idk which one u want
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.
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
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
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.
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
Can you try on some another computer?
Hello, i have the same problem too, it doesn't work for me either. Same error.
the thread iD is short, there is no long thread ID.
@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 I'm also having this issue, happy zoom call and share screen to show you if you need.
alright we are a lot guys :))) I hope we can find a soultion
@UmarBegg Let's connect and schedule a meeting with me. https://calendly.com/pishangujeniya/
@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.
@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
@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.
As of now, a person has provided a temporary solution - https://github.com/pishangujeniya/instagram-helper/issues/101#issue-1773569865
I haven't tested personally, but someone can at least try.
Any update on this?
Im getting Error and cant load the script even though im using this Disable Content-Security-Policy Extension.