Skip to content

Commit

Permalink
add missing UnFavorite
Browse files Browse the repository at this point in the history
  • Loading branch information
ON-MX authored and Thomas Imart committed Jan 15, 2016
1 parent e2977e5 commit d4932ce
Showing 1 changed file with 19 additions and 1 deletion.
20 changes: 19 additions & 1 deletion Tweetinvi/Tweet.cs
Original file line number Diff line number Diff line change
Expand Up @@ -247,6 +247,24 @@ public static bool FavoriteTweet(long tweetId)
{
return TweetController.FavoriteTweet(tweetId);
}

// UnFavorite Tweet

/// <summary>
/// UnFavorite a specific tweet
/// </summary>
public static bool UnFavoriteTweet(ITweet tweet)
{
return TweetController.UnFavoriteTweet(tweet);
}

/// <summary>
/// UnFavorite a specific tweet
/// </summary>
public static bool UnFavoriteTweet(long tweetId)
{
return TweetController.UnFavoriteTweet(tweetId);
}

// Generate OEmbedTweet

Expand All @@ -268,4 +286,4 @@ public static IOEmbedTweet GenerateOEmbedTweet(long tweetId)

#endregion
}
}
}

0 comments on commit d4932ce

Please sign in to comment.