vb6 - where to find twittervb2.dll or twittervb.dll?


The below function causes a “401 error - invalid username or password”. The codeplex page for the twittervb.dll is non existent… Does anyone know where you can find the dll to download?


Private Sub sendTweet()

    Using Twitter As New WebClient
        Twitter.Credentials = New NetworkCredential("vvvv.com", "vvvv")
        ServicePointManager.Expect100Continue = False
        Dim MyTweet = System.Text.Encoding.UTF8.GetBytes("status=" & "hello")

            Twitter.UploadData("https://api.twitter.com/1/statuses/update.xml", MyTweet)
            MsgBox("Your message has been posted")
        Catch ex As Exception
            MsgBox("The message can't be updated, Check your Username/Password.")
        End Try
    End Using

End Sub


It appears that the code you’re working with is outdated and using a form of authentication no longer supported by the Twitter API. You may want to take a look at http://www.twitterizer.net/ instead.


Thanks for the reply! I took a quick look at the twitterizer documentation and I think that i will be able to make it work. Thanks again.


OAuthTokens tokens = new OAuthTokens(); tokens.AccessToken = “XXX”; tokens.AccessTokenSecret = “XXX”; tokens.ConsumerKey = “XXX”; tokens.ConsumerSecret = “XXX”;

TwitterResponse showUserResponse = TwitterUser.Show(tokens, “twit_er_izer”); if (showUserResponse.Result == RequestResult.Success) { DisplayUserDetails(showUserResponse.ResponseObject); } else {


How can i create my twitter application?