A Aspire89 Member Licensed User Aug 26, 2009 #21 It does not matter, different, to distinguish the main page Twitter'a
Erel B4X founder Staff member Licensed User Longtime User Aug 26, 2009 #22 The headers then look exactly the same. Maybe there is a difference in the actual data sent?
A Aspire89 Member Licensed User Aug 26, 2009 #23 I tried about 10 times and 2 times got send from the device, I can not understand why this has not always worked, thank you, without your help I could not do such things, will check tomorrow API Twitter, may have missed something.
I tried about 10 times and 2 times got send from the device, I can not understand why this has not always worked, thank you, without your help I could not do such things, will check tomorrow API Twitter, may have missed something.
Erel B4X founder Staff member Licensed User Longtime User Aug 26, 2009 #24 Try setting the timeout to be much longer and see if it helps.
A Aspire89 Member Licensed User Sep 1, 2009 #26 Ariel_Z said: Did you manage to connect, Aspire89? Click to expand... Yes, use the following code: B4X: response.New1 Obj1.New1(False) request.New3("http://twitter.com/statuses/update.xml",tbUser.Text,tbPass.Text) obj1.CreateNew("System.Net.ServicePointManager" & obj1.System_NS) obj1.SetProperty("Expect100Continue", False) request.ContentType = "application/x-www-form-urlencoded" request.Method = "POST" request.TimeOut = 60000 writer.New1(Request.GetStream,False) Parameters = "status=" & tbStatus.Text writer.WriteBytes(writer.StringToBytes(Parameters)) Response.Value = Request.GetResponse temp = Response.GetString Response.Close Thanks to everyone who helped me.
Ariel_Z said: Did you manage to connect, Aspire89? Click to expand... Yes, use the following code: B4X: response.New1 Obj1.New1(False) request.New3("http://twitter.com/statuses/update.xml",tbUser.Text,tbPass.Text) obj1.CreateNew("System.Net.ServicePointManager" & obj1.System_NS) obj1.SetProperty("Expect100Continue", False) request.ContentType = "application/x-www-form-urlencoded" request.Method = "POST" request.TimeOut = 60000 writer.New1(Request.GetStream,False) Parameters = "status=" & tbStatus.Text writer.WriteBytes(writer.StringToBytes(Parameters)) Response.Value = Request.GetResponse temp = Response.GetString Response.Close Thanks to everyone who helped me.
A Ariel_Z Active Member Licensed User Sep 1, 2009 #27 Good! Do you think you could you post a link to the application (if you intend to publish it) when it's ready?
Good! Do you think you could you post a link to the application (if you intend to publish it) when it's ready?
A Aspire89 Member Licensed User Sep 1, 2009 #28 Of course, as soon as a stable version, I'll post it on this forum.