|
|
Dear Joe,
If I am authenticating using auth.Authorize() method, it redirects to a specified URL after authorization with two values in the URL querystring:
OAuth_Token and OAuth_Verifier. Since we need four values(Consumer Secret and Consumer Key are being taken from web.config) to have a valid auth object and a twitter context. To which credential properties do I assign the above mentioned two
values(OAuth_Token and OAuth_Verifier) from the url?
|
|
Coordinator
Aug 17, 2012 at 4:11 PM
|
Hi,
It might be more useful if you downloaded a working sample of OAuth and traced through the code. There are samples here:
http://linqtotwitter.codeplex.com/wikipage?title=LINQ%20to%20Twitter%20Samples&referringTitle=Home
and in the downloadable source code.
Basically, the authorizers populate credentials for you if you do the entire OAuth workflow.
What technology are you using?
Joe
|
|
|
|
I am using ASP .NET. It does populate the credentials if I use auth.BeginAuthorization() & auth.CompleteAuthorization() methods. but in case of auth.Authorize() it does not. However in case of auth.Authorize() it does send me oAuth_Token & OAuth_Verifier
values in url query string. So just wanted to know where do I assign those to values in credentials.
From: [email removed]
To: [email removed]
Date: Fri, 17 Aug 2012 09:11:07 -0700
Subject: Re: auth.Authorize() method - OAuth_Token and OAuth_Verifier [LinqToTwitter:391963]
From: JoeMayo
Hi,
It might be more useful if you downloaded a working sample of OAuth and traced through the code. There are samples here:
http://linqtotwitter.codeplex.com/wikipage?title=LINQ%20to%20Twitter%20Samples&referringTitle=Home
and in the downloadable source code.
Basically, the authorizers populate credentials for you if you do the entire OAuth workflow.
What technology are you using?
Joe
|
|
Coordinator
Aug 18, 2012 at 8:40 PM
|
You should use BeginAuthorization and CompleteAuthorization in ASP.NET apps.
Joe
|
|
|
|
Thanks Joe. I will go that way then.
From: [email removed]
To: [email removed]
Date: Sat, 18 Aug 2012 13:40:30 -0700
Subject: Re: auth.Authorize() method - OAuth_Token and OAuth_Verifier [LinqToTwitter:391963]
From: JoeMayo
You should use BeginAuthorization and CompleteAuthorization in ASP.NET apps.
Joe
|
|