Twitter: Unread Direct Messages Using Twitter API

Twitter:

I must be blind, but how do I know how many unread direct messages a particular user has?

I am using this documentation: https://dev.twitter.com/docs

+2


source to share


2 answers


Twitter does not currently offer this feature. There is currently no way for Twitter to keep track of which direct messages (or mentions or statuses, for that matter) a user has read or not read.



Although I believe they are studying it.

+3


source


Unread is a vaguely defined term. Unread is commonly used in a specific client application. So, for example, if you are using Twitterrific on two different machines with the same user account, both client instances will have different unread messages relative to each other.



If you want to track unread messages for your customer, you must save the last message by reading the ID . Each Twitter status is uniquely identified by a long number representing the global message ID , so it's easy to follow.

+6


source







All Articles