How can i distinguish between tweet types in the users timeline result set? I can exclude retweets and replys, but then i have to fetch twice.

1 Like

It seems I can identify a retweet if the field conversation_id is not the Id of the tweet, and a reply if the field in_reply_to_user_id is filled. If there is a better way let me know :I

Use referenced_tweets field: it will have the type of relationship the tweet has with another, quoted retweeted, replied_to is a reply etc so you can figure it out from that Tweet object | Docs | Twitter Developer Platform

2 Likes