Twitter status update failed with Error: 'Could not authenticate with OAuth.' The following is the code I put in button1. How do I fix this error? Thanks
OAuthTokens tokens = new OAuthTokens();
tokens.AccessToken = "I put my accesstoken";
tokens.AccessTokenSecret = "I put my tokensecret";
tokens.ConsumerKey = "I put my consumer key";
tokens.ConsumerSecret = "I put consumer secret";
TwitterResponse<TwitterStatus> tweetResponse = TwitterStatus.Update(tokens, "sample tweet");
if (tweetResponse.Result == RequestResult.Success)
MessageBox.Show("Twitter status successfully posted");
else
label13.Text = string.Format("Twitter status update failed with Error: '{0}'",
tweetResponse.ErrorMessage);
Eather your application is deleted or your made error to write token ,secret and keys ect. recheck these this and goto your application setting and select read write and access direct messages here it is
ALL the Best...