google-code-export / twitcurl

Automatically exported from code.google.com/p/twitcurl
1 stars 1 forks source link

error 89 while oauth with token #44

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
I set 4 keys:
twitCurl twitterObj;
twitterObj.getOAuth().setConsumerKey(t_key);
twitterObj.getOAuth().setConsumerSecret(t_secret);
twitterObj.getOAuth().setOAuthTokenKey(t_accesstokenkey );
twitterObj.getOAuth().setOAuthTokenSecret( t_accesstokensecret );
twitterObj.accountVerifyCredGet()

What is the expected output? What do you see instead?
twitterObj.getLastWebResponse( replyMsg );
replyMsg return error 89:
<error code="89">Invalid or expired token</error>

What version of the product are you using? On what operating system?
r93. ubuntu 10.04

Please provide any additional information below.

Original issue reported on code.google.com by HuuN...@gmail.com on 1 Dec 2012 at 3:34

GoogleCodeExporter commented 9 years ago
Few pointers you could try:
1) Are the OAuth keys and tokens correct?
2) Is your app authorized by twitter user?
http://stackoverflow.com/questions/14502411/why-is-my-twitter-oauth-access-token
-invalid-expired
https://dev.twitter.com/discussions/15626
https://dev.twitter.com/discussions/13655
https://dev.twitter.com/discussions/11859

Original comment by swatkat....@gmail.com on 22 Jun 2013 at 7:12