if (credentials.ConsumerKey == null || credentials.ConsumerSecret == null) { credentials.ConsumerKey = ConfigurationManager.AppSettings["twitterConsumerKey"]; credentials.ConsumerSecret = ConfigurationManager.AppSettings["twitterConsumerSecret"]; } auth = new MvcAuthorizer { Credentials = credentials }; auth.CompleteAuthorization(Request.Url); if (!auth.IsAuthorized) { Uri specialUri = new Uri(Request.Url.ToString()); return auth.BeginAuthorization(specialUri); } twitterCtx = new TwitterContext(auth); twitterCtx.UpdateStatus("Welcome");
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)