I'm having trouble restoring a user's data to a TwitterContext when my application runs. There must be something wrong in my code.
Dim ReAuth As New PinAuthorizer
Dim ReAuthCredentials As New InMemoryCredentials
ReAuthCredentials.AccessToken = My.Settings.AccessToken
ReAuthCredentials.ConsumerKey = My.Settings.ConsumerKey
ReAuthCredentials.ConsumerSecret = My.Settings.ConsumerSecret
ReAuthCredentials.OAuthToken = My.Settings.OAuthToken
ReAuth.Credentials = ReAuthCredentials
ReAuth.Authorize()
twitterCtx = New TwitterContext(ReAuth)
The AccessToken and OAuthToken are definitely valid, but all I get is the TwitterContext with no data in it as if it had just been declared.
|