This project has moved and is read-only. For the latest updates, please go here.

Destroying a Favorite

Delete a status from favorites.
public async Task<Status> DestroyFavoriteAsync(
    ulong id)
public async Task<Status> DestroyFavoriteAsync(
    ulong id, bool includeEntities)
Name Purpose Type Required
id ID of tweet to remove from favorites string yes
includeEntities Include Twitter entities (default: true) bool no

Return Type: Status
v3.0 Example:
            var status = 
                await twitterCtx.DestroyFavoriteAsync(
                    401033367283453953ul, true);

            if (status != null)
                    "User: {0}, Tweet: {1}", status.User.Name, status.Text);
v2.1 Example:
            var status = twitterCtx.DestroyFavorite("265675496581373952");

            Console.WriteLine("User: {0}, Tweet: {1}", status.User.Name, status.Text);

Twitter API: favorites/destroy

Last edited Nov 29, 2013 at 3:40 AM by JoeMayo, version 11