Replying to other tweets does not seem to work
See original GitHub issueReplying to Tweets that are not my own does not work.
It works perfectly when replying to my own tweets, but as of now, I’ve not managed to reply to somebody else’s Tweets. The tweet will be pushed out and be visible on my profile under “Tweets & replies” but It will not show up when actually checking the original tweet.
TWEET_ID = <<<INSERT ID>>>
tweet = api.get_status(TWEET_ID)
comment = f'@{tweet.author.screen_name} Test Reply'
res = api.update_status(comment, in_reply_to_status_id_str=tweet.id)
Checking the response is somewhat strange. As it makes apparent that it replies to the user but not the tweet.
'in_reply_to_screen_name': **<<<tweet.author.screen_name>>>**,
'in_reply_to_status_id': None,
'in_reply_to_status_id_str': None,
'in_reply_to_user_id': **<<<tweet.author.id_str>>>**,
'in_reply_to_user_id_str': **<<<tweet.author.id_str>>>**,
'is_quote_status': False,
Could you provide a minimal working example replying to a tweet, that you did not author?
Issue Analytics
- State:
- Created 4 years ago
- Reactions:1
- Comments:7 (2 by maintainers)
Top Results From Across the Web
11 Ways to Fix Cannot Reply to Comment on Twitter - Saint
1. The Comment May Be Limited to Just a Few People (Private Tweets). · 2. Twitter Recipient May Have Blocked You. · 3....
Read more >How to post Twitter replies and mentions - Twitter Help Center
On Twitter, you can reply to Tweets or mention someone in your Tweets. Learn how to start Twitter conversations.
Read more >[Updated] Twitter users report replies not loading or unable to ...
A possible reason why comments and replies were not loading might be related to the recent user-reported Twitter outage on Downdetector. In case ......
Read more >Why can't I see a reply on Twitter? It says there are two, but I ...
In the same manner, any replies to a single tweet in a thread can be seen by tapping or clicking on that specific...
Read more >The #1 Mistake We All Make on Twitter (It's Probably Not What ...
You can join conversations on Twitter by replying to others and by mentioning them in your own Tweets. ... A reply like this...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
You need to also set auto_populate_reply_metadata=True in your call. Taking your example.
res = api.update_status(comment, in_reply_to_status_id=tweet.id, auto_populate_reply_metadata=True)
After this your tweet should look like a reply to another tweet.
Complete explanation for why tweets may be hidden is in #1422.