Twitter send messages.

Santosh Dwivedi's Avatar

Santosh Dwivedi

15 Mar, 2010 09:12 AM via web

Is is possible to send DM from my bot using the send message API. I need to send multiple messages in reply to a query and am using the send message API. It sends the messages as replies to the user. I wish to have a different mode of answering (DM vs @replies) matching the input channel type (private Vs mention)

- Santosh.

  1. 2 Posted by Dave Hoff on 15 Mar, 2010 01:43 PM

    Dave Hoff's Avatar

    Hi Santosh,

    Each incoming message to your bot is sent with the parameter "channel". The
    value will be public or private. For Twitter, if a message is a dm, it will
    be private and you can respond accordingly.

    Dave

  2. 3 Posted by Santosh Dwivedi on 15 Mar, 2010 04:54 PM

    Santosh Dwivedi's Avatar

    Hi Dave,

    Ya I can distinguish between DM (private) and replies using channel.
    But I don;t know how to send mulitiple DMs in response.
    The send API doesn't let u specify whether the message should be sent
    as DM or reply.(or I am not aware of it)
    Please let me know how do I specify this to the send message API.

    -
    Santosh.

  3. 4 Posted by mlucas on 15 Oct, 2010 08:18 PM

    mlucas's Avatar

    Sorry for the late response regarding your issue. Is this still an issue that you are currently experiencing? I will be monitoring this page for a reply and I look forward to helping resolve this for you.

    -Matt Lucas
    IMified Support

Reply to this discussion

Internal reply

Formatting help or Preview

Attached Files

You can attach files up to 10MB

What comes next? 'Monday Tuesday Wednesday ?????'

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.