You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Twitterizer.VerifyCredentialsOptions verify = new VerifyCredentialsOptions();
TwitterResponse<TwitterUser> twitterResponse = TwitterAccount.VerifyCredentials(oAuthTokens);
if (twitterResponse.Result == RequestResult.Success)
{
twitterUserVM = new TwitterUserViewModel();
twitterUserVM.name = twitterResponse.ResponseObject.Name;
}
return twitterUserVM;
}
In this version accessToken is authToken generated via Twitter Android SDK, which was sent to server. Server after that should verify token, get data and sign in the user. But after verifying in Twitter twitterResponse always contains "could not authenticate 32 error.".
I implemented similar authentication for Facebook and Google without serious problems, but it seems like Twitter outgrows me... Please help
The text was updated successfully, but these errors were encountered:
I've got a serious problem with Twitter/Twitterizer. My code
private async Task VerifyTwitterAccessToken(string accessToken, string secret)
{
TwitterUserViewModel twitterUserVM = null;
Twitterizer.OAuthTokens oAuthTokens = new OAuthTokens();
oAuthTokens.AccessToken = ConfigurationManager.AppSettings["TwitterAccessToken"];
oAuthTokens.AccessTokenSecret = ConfigurationManager.AppSettings["TwitterTokenSecret"];
oAuthTokens.ConsumerKey = accessToken;
oAuthTokens.ConsumerSecret = secret;
In this version accessToken is authToken generated via Twitter Android SDK, which was sent to server. Server after that should verify token, get data and sign in the user. But after verifying in Twitter twitterResponse always contains "could not authenticate 32 error.".
I implemented similar authentication for Facebook and Google without serious problems, but it seems like Twitter outgrows me... Please help
The text was updated successfully, but these errors were encountered: