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?
```
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?