Destroying Statuses

Delete a tweet.
Signature:
public async Task<Status> DeleteTweetAsync(ulong tweetID)
Parameters/Filters:
Name Purpose Type Required
tweetID ID of tweet to delete ulong yes


Return Type: Status
v 3.0 Example:
            ulong tweetID = 280433519057068033;

            Status status = 
                await twitterCtx.DeleteTweetAsync(tweetID);

            if (status != null && status.User != null)
                Console.WriteLine(
                    "(" + status.StatusID + ")" +
                    "[" + status.User.UserID + "]" +
                    status.User.ScreenNameResponse + ", " +
                    status.Text + ", " +
                    status.CreatedAt);
v2.1 Example:
var message = twitterCtx.NewDirectMessage("16761255", "Direct Message Test - " 
                                          + DateTime.Now);

if (message != null)
{
    Console.WriteLine(
        "Recipient: {0}, Message: {1}, Date: {2}",
        message.RecipientScreenName,
        message.Text,
        message.CreatedAt);
}

Twitter API: statuses/destroy/:id

Last edited Nov 29, 2013 at 4:48 AM by JoeMayo, version 16