Retrieve Twitter AuthToken and Secret after successfully login in ASP.Net

Last Reply 6 months ago By dharmendr

Posted 6 months ago

Hi everyone,

Using the Twitter login component:

Works great!

One of our applications posts tweets to automated accounts.

How do we retreive the OAuthToken and OAuthTokenSecret values that are sent back to the DLL?




You are viewing reply posted by: dharmendr 6 months ago.
Posted 6 months ago

Use below code to get the logged user in the key and secret.

protected void Get(object sender, EventArgs e)
    TwitterConnect twitter = new TwitterConnect();
    string key = twitter.OAuthToken;
    string secret = twitter.OAuthTokenSecret;