Sorry if I haven’t read the docs properly, I’m pretty tired but desperately searching for an answer lol.
The tweet object docs have an in_reply_to_user_id object that can be used to find the profile of the user a particular tweet is replying to, but what I’m looking for is the equivalent of in_reply_to_status_id from v1.1 in the v2 object, so I can find the actual tweet that is being replied to.
How can I do this in v2? Thanks.
HAHA nevermind I didn’t read the docs properly like I guessed. The referenced_tweets field is what I’m looking for.
2 Likes
Hello,
Can you please tell me how we use the referenced_tweets in a program?
Thank you!
@poonam0405 it depends on what library / language you’re coding in, but the referenced_tweets object inside the tweet in data, points to a tweet inside includes. For example: Tweet object | Docs | Twitter Developer Platform It’s a JSON object so how you interact with it depends on your coding language.
1 Like