title: Tweetsharp authorization renders no oauth token
body: <p>I am trying to implement tweetsharp in my asp.net mvc 3 application but I am running into issues.</p>
  
  <p>I have created a new twitter application with the following settings:</p>
  
  <ul>
  <li>Application website: <a href="http://127.0.0.1:8545/">http://127.0.0.1:8545/</a></li>
  <li>Type: browser</li>
  <li>Callback URL: none</li>
  <li>Access Type: read/write</li>
  </ul>
  
  <p>I then used the sample provided on their website with a few minor changes:</p>
  
  <pre><code>public ActionResult Twitter()
  {
      TwitterService service = new TwitterService("key", "secret");
      OAuthRequestToken requestToken = service.GetRequestToken("http://127.0.0.1:8545/Membership/TwitterOAuth");
  
      var uri = service.GetAuthorizationUri(requestToken);
  
      return new RedirectResult(uri.ToString(), false /*permanent*/);
  }
  
  public ActionResult TwitterOAuth(string oauth_token, string oauth_verifier)
  {
      var requestToken = new OAuthRequestToken { Token = oauth_token };
  
      TwitterService service = new TwitterService("key", "secret");
      OAuthAccessToken accessToken = service.GetAccessToken(requestToken, oauth_verifier);
  
      service.AuthenticateWith(accessToken.Token, accessToken.TokenSecret);
      TwitterUser user = service.VerifyCredentials();
  
      return RedirectToAction("Index", "Home");
  }
  </code></pre>
  
  <p>Whenever I runt his code I get redirected to the following twitter URL: <a href="https://api.twitter.com/oauth/authorize?oauth_token=">https://api.twitter.com/oauth/authorize?oauth_token=</a>?</p>
  
  <p>Anyone experienced this before? </p>
  
  <hr>
  
  <p>EDIT</p>
  
  <p>It appears that issue was with the way the application was setup. Since I did not provide a callback url, the application was automatically saved as a client and not browser application. Once I added a callback url the code worked correctly.</p>