Ask Your Question
0

How can you distinguish between status replies and explicit mentions in the Twitter API?

asked 2021-06-26 11:00:00 +0000

lakamha gravatar image

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2021-11-13 11:00:00 +0000

ladyg gravatar image

In the Twitter API, status replies are tweets that begin with an '@' symbol followed by the username of the person being replied to. These tweets are considered replies to a specific user and are not visible to all of the user's followers unless they follow both the original poster and the person being replied to.

In contrast, explicit mentions in the Twitter API are tweets that include the '@' symbol followed by a username anywhere within the tweet. These tweets are not considered replies and are visible to all of the user's followers.

To distinguish between status replies and explicit mentions in the Twitter API, you can check if the tweet has a 'inreplytouserid' field. If this field is populated, it indicates that the tweet is a reply. If the field is null, then the tweet is an explicit mention.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss

Add Answer


Question Tools

Stats

Asked: 2021-06-26 11:00:00 +0000

Seen: 13 times

Last updated: Nov 13 '21