You are using the old Tweetinvi code.
Compatible with Twitterinvi from version 0.9.9.5. Instead of "TwitterCredentials.SetCredentials" you should now use "Auth.SetUserCredentials"
Please note that the order of the parameters is also changed!
Try the following:
Auth.SetUserCredentials("CONSUMER_KEY", "CONSUMER_SECRET", "ACCESS_TOKEN", "ACCESS_TOKEN_SECRET");
For more options, see https://github.com/linvi/tweetinvi/wiki/Credentials
source share