0

I'm trying to do a basic SingleUserAuthorizer call to twitter. I am getting this Exception when I try the User Linq request. Any ideas?

Exception thrown: 'System.AggregateException' in mscorlib.dll

var auth = new SingleUserAuthorizer
{
    CredentialStore = new SingleUserInMemoryCredentialStore
    {
        ConsumerKey = twitterConsumerKey,
        ConsumerSecret = twitterConsumerSecret,
        OAuthToken = twitterAccessTokenSecret,
        AccessToken = twitterAccessToken
    }
};
//await auth.AuthorizeAsync();
var twitterCtx = new TwitterContext(auth);

User user = 
    (from tweet in twitterCtx.User
    where tweet.Type == UserType.Show &&
    tweet.ScreenName == member.screenName
    select tweet)
    .SingleOrDefault();
Pᴇʜ
  • 56,719
  • 10
  • 49
  • 73
Rob Gaudet
  • 131
  • 2
  • 14

1 Answers1

0

We resolved the issue via this discussion on GitHub:

https://github.com/JoeMayo/LinqToTwitter/issues/45

Joe Mayo
  • 7,501
  • 7
  • 41
  • 60