Difference between accesstoken and accesstokensecret key


#1

Hi

Can any one give me difference between accesstoken and accesstokensecret key. I am in my application using linq2twitter api(in .net) and want to set values in var credentials = new InMemoryCredentials
{
ConsumerKey = ""
ConsumerSecret = “”,
OAuthToken = “”,
AccessToken = “”
}

Just wonder what the last 2 values should have…?

Thanks
Shakeb


#2

Hi,

OAuthToken == AccessToken
AccessToken == AccessTokenSecret

The name differences come from two different usages. OAuthToken and AccessToken come from the OAuth protocol names where, during authentication, Twitter gives you an oauth_token, that is exchanged for an access_token. As you probably already know, AccessToken and AccessTokenSecret are names that Twitter gives to the credentials on the application page, facilitating single user authorization.

BTW, LINQ to Twitter has a SingleUserAuthorizer.

Joe


#3

Mornin to u all