Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What's the API to undo retweets (unretweet) in Twitter?

Tags:

twitter

What's the REST API call required to undo/remove/destroy/delete a retweet (of another user) from the authenticated user's timeline? There's simply no mention of this in the API documentation on the Twitter website.

like image 514
aalaap Avatar asked Jul 18 '11 16:07

aalaap


People also ask

How do you undo all the Retweets on Twitter?

Upon signing in, you'll see your Twitter Dashboard. In the menu bar, click on Tweet Type. Then, filter for Retweets. Click the empty checkbox at the top of the list.

Can you undo someone else's retweet?

Now, if you accidentally retweeted something that you do not want your Twitter followers to see then you can delete it from your timeline. However, there is no specific delete tweet button for a retweet, but you can undo a retweet that removes the retweet from your profile.


1 Answers

Native retweet has all attributes of a simple tweet including a unique ID. So, you can use statuses/destroy method to remove it.

How to get that ID depends on your application. First, it's returned by statuses/retweet method. Second, you can get user's timeline and parse out ID of this tweet.

like image 65
Shcheklein Avatar answered Sep 19 '22 14:09

Shcheklein