Quantcast
Channel: Tweetinvi a friendly Twitter C# library
Viewing all articles
Browse latest Browse all 4126

Edited Issue: SetCredentials Invalid / Expire [2326]

$
0
0
Hi, I just did a simple test if my code works:

```
TwitterCredentials.SetCredentials("@CurrentPage.twitterAccessToken", "@CurrentPage.twitterAccessTokenSecret", "@CurrentPage.twitterConsumerKey", "@CurrentPage.twitterConsumerSecret");

// Display tweets
//var tweets = Timeline.GetHomeTimeline();
//var user = Tweetinvi.User.GetLoggedUser();

var lastException = ExceptionHandler.GetLastException();

@lastException
```

and the exception i got was:

--- Date : 7/20/2014 7:26:35 AM URL : https://api.twitter.com/1.1/account/verify_credentials.json Code : 401 Error documentation description : Invalid or expired token (89)

I have regenerated the access / consumer keys on twitter but still got the same error. Can you please help what I'm doing wrong?

Viewing all articles
Browse latest Browse all 4126

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>