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?
Thanks.
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")
Try
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