Replying to Twitter direct messages

If a user sends you a direct message and your bot replies to it, that user will not get the reply if they are not following your bot's twitter acccount.

On twitter, you need to be following a user in order to receive a direct message from them. @ replies, however, can be sent to anyone. You can check if a user is following you by using our getUser command and looking up the sender's userkey. The response will tell you if that user is following you. If they are not, you can handle your response differently.

Some of our developers, when they receive a DM from a user that is not following them, use our message push feature to send an @ reply to the user informing them that they'll need to follow the bot in order to get direct message replies.