Instagram-private-api: Send direct message?

Created on 29 Mar 2017  路  10Comments  路  Source: dilame/instagram-private-api

The README mentions that it is possible to send direct messages with this library, but I don't see anything about that in the source. Am I missing something or is the README in error? If anyone could point me to the relevant method, it'd be much appreciated! Thanks.

Most helpful comment

Worked like a charm. Closing this issue out.

All 10 comments

https://github.com/huttarichard/instagram-private-api/blob/master/client/v1/thread.js
new Client.Thread.configureText(session, userId, messageToSend).then(function (t) {})

I'll give that a shot. Thanks!

Worked like a charm. Closing this issue out.

Hey guys,

Is there any options to get the inbox message seen or not. I have checked the inbox feed and i see the itemsSeenAt [object] but this is not seems updating the time of after seen, it have only the sent timestamp.

Any idea

Is there any option to send Direct message in instagram by any API,if then please reply
Thanks

@anilgiriglobussoft123

https://github.com/huttarichard/instagram-private-api/blob/master/client/v1/thread.js
new Client.Thread.configureText(session, userId, messageToSend).then(function (t) {})

By the way, this function changed ? Is the same as Thread.configureText = function(session, users, text) ? Because i did not find.
Another thing... wich url they use because i don麓t see this endpoint at instagram website.

I saw this, but if i make my own wrap, i am not gotting work. I already did the send comment, post likes, etc... but this i cannot make work and at instagram website doesn麓t have nothing about.
I would like to know what parameters do I have to send at Body when send the Post request !?

What is client_context ?
About the function generateUUID , what is UUID? Because i am using Xamarin.Auth and to request info, post comments, etc i don麓t have to explicit pass nothing about UUID. This is used in this wrap api, to do theses functions that i mencioned ?

I sent with the parameters thread_ids and text . I got succesfull status, but the message was not sent at the Instagram. I tried to sent from my sandbox user to a normal user. Need to be both sandbox users ?

https://github.com/huttarichard/instagram-private-api/blob/master/client/v1/thread.js
new Client.Thread.configureText(session, userId, messageToSend).then(function (t) {})

Can you please elaborate on how to achieve this?

Thanks in advance

Was this page helpful?
0 / 5 - 0 ratings