i installed tweetinvi but the TwitterCredentials.SetCredentials is not found.
Install-Package TweetinviAPI
How can i solve this.
You're using an old Tweetinvi code.
Tweetinvi break compatibility since version 0.9.9.5. Instead of "TwitterCredentials.SetCredentials" you should now use "Auth.SetUserCredentials"
plaese note that the parameters order has also been changed!
Try this:
Auth.SetUserCredentials("CONSUMER_KEY", "CONSUMER_SECRET", "ACCESS_TOKEN", "ACCESS_TOKEN_SECRET");
For more options, see https://github.com/linvi/tweetinvi/wiki/Credentials
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With