Ambiguous in_reply_to_user_id for user mention/reply


#1

I’ve run into a case where on the tweet object, in_reply_to_user_id will be set to the user who is mentioned in a fresh status, but in_reply_to_status_id is null, how can this be the case? According to the docs, both fields are set if the status is representative of a reply tweet, but the tweets in question are not replies as far as I can tell. My use case is I want to ignore statuses that are replies to a specific account’s statuses, for example @A tweets “Hello world”, @B replies to @A’s tweet “Insert anything here”, I want to identify and ignore @B’s reply.

Id’s of the tweets below for reference.
451805176702046208
451756250498224128