Replies to a particular tweet, Twitter API

Here is the procedure to get the replies for a tweets

  1. when you fetch the tweet store the tweetId ie., id_str
  2. using twitter search api do the following query
    [q="to:$tweeterusername", sinceId = $tweetId]
  3. Loop all the results , the results matching the in_reply_to_status_id_str to $tweetid is the replies for the post.

Leave a Comment