Example #1
0
        static async Task RetweetAsync(TwitterContext twitterCtx)
        {
            ulong tweetID = 401033367283453953;

            Status retweet = await twitterCtx.RetweetAsync(tweetID);

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