Possible Duplicate:
Replies to a particular tweet, Twitter API
Is there a good way to detect whether a tweet was a reply to another tweet.
Right now I'm thinking of checking the first character of the tweet - if it's an @
, then it's a reply. But this would also select tweets like @veosotano did an awesome commit today
.
So my question is, whether there are any better ways to detect replies?
Every tweet has several attribues starting in "in_reply_to"... I'd guess that if these exist, then the tweet is a reply:
https://dev.twitter.com/docs/twitter-ids-json-and-snowflake
They will also help you determine to whom this is a reply, and to what tweet.
in_reply_to
but the article has nothing to do with it - Chamilyan 2012-04-08 10:09