This project has moved and is read-only. For the latest updates, please go here.

Can't use PinAuthorizer directly with version 3

May 17, 2014 at 2:31 PM
I'm trying to change to version 3, and I can't find how to get authorization working with my windows app.

In previous version, this was working:

OAuthTwitter oAutTwitter = new OAuthTwitter();

oAutTwitter.OAuthConsumerKey = "....";
oAutTwitter.OAuthConsumerSecret = "....";
oAutTwitter.OAuthToken = "....";
oAutTwitter.OAuthTokenSecret = "....";

ITwitterAuthorizer auth = new PinAuthorizer
            Credentials = new LinqToTwitter.InMemoryCredentials
                ConsumerKey = oAutTwitter.OAuthConsumerKey,
                ConsumerSecret = oAutTwitter.OAuthConsumerSecret,
                AccessToken = oAutTwitter.OAuthToken,
                OAuthToken = oAutTwitter.OAuthTokenSecret
Please, help me transpose this to the new version.
Thanks in advance,
May 19, 2014 at 12:41 AM
Hi Marcos,

There's a demo for Windows Forms in the Linq2TwitterDemos_WindowsForms project.

May 19, 2014 at 1:25 AM
Hi Joe,

In your demos you connect to the login page and you log manually to twitter.
In my previous code, I could use directly my ConsumerKey and ConsumerSecret. This is the way I need to use it - a program that connect directly when needed -, without user interaction, as in version 2.