Error (401) Unauthorized


I am getting error as The remote server returned an error: (401) Unauthorized at method - WebRequest()

Inside Class: TwitterOAuth.vb

This TwitterVB application using VB.Net code

    Public Const REQUEST_TOKEN As String = ""
    Public Const AUTHORIZE As String = ""
    Public Const ACCESS_TOKEN As String = ""

Trying save Tweet as CSV.

I tried using https instead of http with above urls.

Please let me know in case of more info required.
Kindly let us know solution ASAP, as this issue is at live environment.



The correct urls for OAuth token negotiations are at “*” (the api subdomain and over https).

But you may be getting a 401 for a variety of reasons, like sluggish system clock, or other issues with your API keys. Can you make requests with your API keys in another environment.

By the way, please keep in mind this item of our developer terms of service:

"Exporting Twitter Content to a datastore as a service or other cloud based service, however, is not permitted."