View on GitHub

LinqToTwitter

LINQ Provider for the Twitter API (C# Twitter Library)

Retweeting a Status

Retweets a tweet.

Signature:
public async Task<Status> RetweetAsync(ulong tweetID)
Parameters/Filters:
Name Purpose Type Required
tweetID ID of user replied to. ulong yes

Return Type: Status

Example:
            ulong tweetID = 401033367283453953;

            var retweet = await twitterCtx.RetweetAsync(tweetID);

            if (retweet != null && 
                retweet.RetweetedStatus != null && 
                retweet.RetweetedStatus.User != null)
            {
                Console.WriteLine("Retweeted Tweet: ");
                Console.WriteLine(
                    "\nUser: " + retweet.RetweetedStatus.User.ScreenNameResponse +
                    "\nTweet: " + retweet.RetweetedStatus.Text +
                    "\nTweet ID: " + retweet.RetweetedStatus.ID + "\n"); 
            }

Twitter API: statuses/retweet/:id