/// <summary> /// Shows how to update account profile info /// </summary> /// <param name="twitterCtx">TwitterContext</param> static void UpdateAccountInfoDemo(TwitterContext twitterCtx) { var user = twitterCtx.UpdateAccountProfile("LINQ to Tweeter", "http://linqtotwitter.codeplex.com", "Denver, CO", "Testing the Account Profile Update with LINQ to Twitter.", true, true); Console.WriteLine( "Name: {0}\nURL: {1}\nLocation: {2}\nDescription: {3}", user.Name, user.Url, user.Location, user.Description); }
/// <summary> /// Shows how to update account profile info /// </summary> /// <param name="twitterCtx">TwitterContext</param> private static void UpdateAccountInfoDemo(TwitterContext twitterCtx) { var user = twitterCtx.UpdateAccountProfile( "LINQ to Tweeter Test", "http://linqtotwitter.codeplex.com", "Anywhere In The World", "Testing the LINQ to Twitter Account Profile Update."); Console.WriteLine( "Name: {0}\nURL: {1}\nLocation: {2}\nDescription: {3}", user.Name, user.URL, user.Location, user.Description); }