Deleting a tweet

Dec 29, 2013 at 11:55 PM
Hey Linvi,
I am creating a third party S/W that allows users to tweet/view timelines..., the code u provided works perfectly well with a few modifications, now i want to add a functionality to delete a tweet,i was wondering if there is a provided functionality to do so in the sample code that you provided, i have looked through the code and i don't seem to see one, please help.
Dec 30, 2013 at 2:49 AM
Hi Chagina,

Here is a copy to a reply from the discussion https://tweetinvi.codeplex.com/discussions/477952.

Yes there is one. You need to create a new Tweet and then destroy it.
long tweetId = ...;
var tweet = new Tweet(tweetId, token);

var tweetDestroyed = tweet.Destroy();
Kind Regards,
Linvi
Marked as answer by linvi on 1/16/2014 at 4:13 AM
Dec 30, 2013 at 10:12 AM
Awesome!...
Thanks a bunch for the reply...let me work on it, will let you know if i bump into any other problem...