dilame / instagram-private-api

NodeJS Instagram private API SDK. Written in TypeScript.
MIT License
5.92k stars 1.13k forks source link

How to Correctly create a group Sending dm using instagram-private-api #1693

Open RDKclick opened 1 year ago

RDKclick commented 1 year ago

const groupThread = await senderItem.ig.direct.createGroupThread(['58723232', '58660213', '52838612312']); const thread = senderItem.ig.entity.directThread(groupThread.thread_id); const msgResult = await thread.broadcastText(text);

The msgResult response normally returns the same message as the dm, but the receiver does not receive it. Why?

sunmasters commented 1 year ago

check if messages are in requests?

RDKclick commented 1 year ago

Can you look at your group messaging sample code

sunmasters commented 1 year ago

I think, API is not changed. Check whether userid accept messages from you.

RDKclick commented 1 year ago

There is this message on the ins interface of the login account, but the recipient did not receive it. I suspect that there is a missing push action