Skip to content

401 Errors

linvi edited this page Mar 1, 2016 · 2 revisions

If you receive a 401 exception it means that Tweetinvi was not able to authenticate you with the credentials you provided. This page lists the most frequent problems encountered by developers.

  • Ensure that the time and timezone of your machine are correctly set up.

  • Ensure that the credentials have been entered in the correct order Auth.SetUserCredentials("CONSUMER_KEY", "CONSUMER_SECRET", "ACCESS_TOKEN", "ACCESS_TOKEN_SECRET");.

  • Ensure that your application is correctly set up. Below you can find a configuration example: The red box (Callback URL) is REQUIRED to enable callback authentication on your website. The value can be anything that is a URL. It does not need to be the website url you want to redirect to. For example you can use in your own application https://github.com/linvi/tweetinvi

Configuration

Clone this wiki locally