How to open twitter in browser(Without asking userid & passward) From my Desktop Application

a_amarnath
@a_amarnath Amarnath Aasaithambi

I Want to open twitter in browser(Without asking userid & passward) From my Desktop Application using ConsumerKey, ConsumerSecret, token, tokensecret. Is this possible

2 years 9 weeks ago

Replies

juancalbarran
@juancalbarran Juan Carlos Albarran

Download the dll and use this code

protected void btnPostTweet_Click(object sender, EventArgs e)
{
OAuthTokens tokens = new OAuthTokens();
tokens.AccessToken = "xxxxxxxx";
tokens.AccessTokenSecret = "xxxxxx";
tokens.ConsumerKey = "xxxxxx";
tokens.ConsumerSecret = "xxxxxx";

var tweetResponse = TwitterStatus.Update(tokens, "Hello, #Twitterizer");
if (tweetResponse.Result == RequestResult.Success)
{
// Tweet posted successfully!
}
else
{
// Something bad happened
}

}

2 years 9 weeks ago
a_amarnath
@a_amarnath Amarnath Aasaithambi

Thank You for Your reply.
But Here my requirement :
I want the links in my desktop application that forwards a user into
twitter.com pages, and it would be handy to automate login operation.

2 years 9 weeks ago
episod
@episod Taylor Singletary

You cannot pass state from the API into a browser for authentication. They are separate.

2 years 9 weeks ago