c# - How do I connect to Twitter via TwitterVB? -


I am trying to connect to TwitterVB via TwitterVB and the following code does not work (note: Consumer Has been removed and confidential issues for consumer and privacy). When I run the following code it pops up a web page (attachment). What am i doing wrong

Code: String Consumer = ""; String ConsumersExcept = "";

  Twitter VB2.TwitterAPI tw = New TwitterVB2.TwitterApi (); If (request ["oauth_token"] == tap) {Response.Redirect (tw.GetAuthorizationLink (consumerKey, consumerKeySecret)); Debug.WriteLine (tw.OAuth_Token); Debug.WriteLine (tw.OAuth_TokenSecret); } Other {tw.GetAccessTokens (consumer, consumercert, request ["oauth_token"], request ["oauth_verifier"]); Debug.WriteLine (tw.OAuth_Token); Debug.WriteLine (tw.OAuth_TokenSecret); }  

Screenshots:

In short: to get you The need to access the Twitter code is the key and the secret and it can be only with that form on the screenshot but it is only Once should be done - give permission and store to key + secret anywhere.

And here are some useful links for you:




Comments