Destroying a Favorite

Delete a status from favorites.
Signature:
public async Task<Status> DestroyFavoriteAsync(
    ulong id)
public async Task<Status> DestroyFavoriteAsync(
    ulong id, bool includeEntities)
Parameters/Filters:
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)
                Console.WriteLine(
                    "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 2:40 AM by JoeMayo, version 11