I am trying hard to find a way to reply to a tweet with Twitter API V2, but it seems there is no endpoint for doing something like that, in Twitter Developer docs i found a way to post and delete a tweet, to retweet a tweet and delete a retweet, but i am struggling with replies, can you please help me with this? Thanks.
Question posted in Twitter API
The official Twitter API documentation can be found here.
The official Twitter API documentation can be found here.
2
Answers
For anyone coming later at this post, here is answer: Endpoint for this action is "api.twitter.com/2/tweets", and parameters you have to pass are "text" and "reply" object with "in_reply_to_tweet_id" key, like this "reply: { in_reply_to_tweet_id: tweet_id }
For those who are having trouble in the previous answer.
Pass this following in the body of the request.