Hello
I get this mistake saying “Can not recognize the string as a valid DateTime” and do not know how to remove it but if the application if that works for me. This is the code for asp.net
Imports TwitterVB2
Public Class _Default
Inherits System.Web.UI.Page
Dim tw As New TwitterAPI
Dim consumer As String = "xxx"
Dim consumersecret As String ="xxxx"
Dim oauthtokensecret As String = "xxxx"
Dim oauthtoken As String = “xxxx”
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
tw.AuthenticateWith(consumer, consumersecret, oauthtoken, oauthtokensecret)
End Sub
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
tw.AuthenticateWith(consumer, consumersecret, oauthtoken, oauthtokensecret)
If TextBox1.Text = "" Then
MsgBox("DABE RELLENAR EL CAMPO PARA TWITTEAR")
Else
tw.Update(TextBox1.Text) 'Here happend the error
End If
End Sub
End Class
Alittle help plisss
Thanks