Instantiating PinAuthorizer with existing credentials

Aug 3, 2012 at 7:51 AM

I am unable to get access data once i instantiate the PinAutherizer with existing credentials in windows form application. below are the code snippet

  InMemoryCredentials s = new InMemoryCredentials();

 s.ConsumerKey = _ConsumerKey;

 s.ConsumerSecret = _ConsumerSecret;

 s.OAuthToken = _Token; 

 s.AccessToken = _TokenSecret;

 

PinAuthorizer pi = new PinAuthorizer();

pi.Credentials = s;

pi.Authorize();

 System.Diagnostics.Trace.WriteLine(Tc.UserName);            System.Diagnostics.Trace.WriteLine(Tc.Trends.ToList().Count);

System.Diagnostics.Trace.WriteLine(Tc.User.ToList().Count);

the username is null and trends and user are null.

 

Regards

Sudheesh

 

Aug 3, 2012 at 11:23 AM

I reported a similar issue a few days ago, it's a known bug apparently and has been added to the issue tracker.

Coordinator
Aug 5, 2012 at 2:14 AM

I found a bug and fixed it - more details here:

http://linqtotwitter.codeplex.com/discussions/389539

Joe