How to use Tweepy for comment retweets

So, I'm stuck trying to figure out how to edit a comment tweet, this has been added to twitter lately.

this is when you click retweet and add a comment to the retweet and retweet it. basically this is what i'm talking about:

enter image description here

I looked at the api and count find method dedicated to this. And even the retweet method does not have a parameter where I can pass text.

So, I was wondering if there is a way to do this?

+8
python twitter tweepy
source share
1 answer

Tweepy is not able to rephrase your own text, but what you can do is make the url as https://twitter.com/<user_displayname>/status/<tweet_id> and include it with the text you want to comment on. This is not a retweet, but you are inserting a tweet into your new tweet.

user_displayname - display the name of the person whose tweet you have in common

tweet_id - tweet id of the tweet you are updating

+12
source share

All Articles