OAuth for Twitter HTTP requests in VB.NET: send tweets programmatically

Following a previous post, we share a new VB.NET class that uses OAuth  authentication to programmatically send tweets on an user’s page.

Comments have been provided within the class, that you may download here; after the import in your project you can use it as follows:

 

Dim myReq = New statusUpdate(oauth_consumer_key, consumer_secret, oauth_token, oauth_token_secret)
myReq.makeRequest("My twitter test")

 

You can get all the authorization tokens following the Twitter Tokens page and activating your Twitter application account.
In order to run provided example, make sure you have set both read and write permissions as access level property of your Twitter application.

For more information about Twitter authorizing request, refers to Developers Page .

Leave a Reply

Your email address will not be published. Required fields are marked *