title: Twitterizer 2.2 Sending help
body: <p>Hi I am working on sending twitter updates from my asp.net website. I have the authorization down but I am stuck when it gets to sending the tweet here is my code behind:</p>
  
  <pre><code>  protected void btnAuth_Click(object sender, EventArgs e)
  {
      // add these to web.config or your preferred location
      var consumerKey = ConfigurationManager.AppSettings["consumerKey"];
      var consumerSecret = ConfigurationManager.AppSettings["consumerSecret"];
  
      //If User is not valid user
      if (Request.QueryString["oauth_token"] == null)
      {
          //Step 1: Get Request Token
          OAuthTokenResponse RequestToken = OAuthUtility.GetRequestToken(consumerKey,consumerSecret);
  
          //Step 2: Redirect User to Requested Token
          Response.Redirect("http://twitter.com/oauth/authorize?oauth_token="+ RequestToken.Token);
      }
      else
      {
          //For Valid User
          string Oauth_Token = Request.QueryString["oauth_token"].ToString();
  
          var accessToken = OAuthUtility.GetAccessToken(consumerKey, consumerSecret, Oauth_Token, txtPIN.Text.Trim());
  
          lblMessage.Text = "&lt;b&gt;Hello "  + accessToken.ScreenName + ", Welcome to my Twitter App&lt;b&gt;";
          lblMessage.Text += "&lt;br/&gt; Token: " + accessToken.Token;
          lblMessage.Text += "&lt;br/&gt; TokenSecret: " + accessToken.TokenSecret;
          lblMessage.Text += "&lt;br/&gt; UserId: " + accessToken.UserId;
          lblMessage.Text += "&lt;br/&gt; VerificationString: " + accessToken.VerificationString;
      } 
  }
  
   protected void  btnTweet_Click(object sender, EventArgs e)
  {
      // add these to web.config or your preferred location
      var consumerKey = ConfigurationManager.AppSettings["consumerKey"];
      var consumerSecret = ConfigurationManager.AppSettings["consumerSecret"];
  
      OAuthTokens accessToken = new OAuthTokens();
      accessToken.AccessToken = "xxxxxxxxxxxxxxxxxxxxxxxxxxxx";
      accessToken.AccessTokenSecret = "xxxxxxxxxxxxxxxxxxxx";
      accessToken.ConsumerKey = consumerKey;
      accessToken.ConsumerSecret = consumerSecret;
  
      TwitterStatus TweetStatus = new TwitterStatus();
      TweetStatus.Update(accessTokens, txtTweet.Text);                        
  }   
  </code></pre>
  
  <p>I dont know how to get the AccessToken &amp; AccessTokenSecret. Any help would be great thanks.   </p>