Click here to Skip to main content
15,881,588 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I WANT AUTOMATE tweets to twitteer via asp.net web application .i found this code , i tried it.but no trace of any updtaes.my code is
C#
protected void Page_Load(object sender, EventArgs e)
       {
           OAuthTokens tokens = new OAuthTokens();
           tokens.AccessToken = "467102587-8651xqerwjWLdUgt7QxaGOdZMW8V740Ef6q13dRY";
           tokens.AccessTokenSecret = "w71jBfoot4PwuMKkz8H3PHw87oteATvuIUxTkjC2M8";
           tokens.ConsumerKey = "2TNZjhWS6cwSJPyfongjg";
           tokens.ConsumerSecret = "8VpuJqQ8MZ4xTF2EGiBI4lpOVQ6lH0aIXb6ck3WAeQ";

           TwitterResponse<twitterstatus> tweetResponse = TwitterStatus.Update(tokens, "Hello, #Twitterizer");
           if (tweetResponse.Result == RequestResult.Success)
           {
               Label1.Text = "posted tweet";
           }
           else
           {
               Label1.Text = "not posted";
           }
       }
   }

always i am getting label 2 only.can any one help me how to post updates. my settings are like this.
this api has read and write permissions,get permission
Posted
Updated 18-Jan-12 2:15am
v2
Comments
Anuja Pawar Indore 18-Jan-12 8:15am    
Added pre tag
Jason Gleim 18-Jan-12 10:00am    
Uhh... please tell me those aren't your real tokens...
satishmachineni 18-Jan-12 23:18pm    
no problem , those are real tokens ,just my college project,craeted one dummy account

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900