我想從我的asp.net網頁更新我的狀態。如何從我的ASP.NET頁面更新twitter狀態
以下是我的代碼;但它沒有更新。 請檢查我的代碼並回復。
protected void btnTwitt_Click(object sender, EventArgs e)
{
string twitterMsg = txtShout.Text;
OAuthTokens tokens = new OAuthTokens();
tokens.AccessToken = "My Access Token";
tokens.AccessTokenSecret = "My Access Token Secret here";
tokens.ConsumerKey = "My Consumer Key";
tokens.ConsumerSecret = "My Consumer Secrete here";
TwitterResponse<Twitterizer.TwitterStatus> tweetResponse =
Twitterizer.TwitterStatus.Update(tokens, twitterMsg);
lblTwitMsg.Text = "Your have shout successfully on http://twitter.com/" + "";
}
檢查[C#代碼來發布,刪除,檢索使用OAuth鳴叫(HTTP ://coderbuddy.wordpress.com/2010/08/30/c-code-to-publish-delete-retrieve-tweets-using-oauth/),**注意 - **這是我的博文 – Vamsi