Comments on: Posting Twitter Updates using Java http://www.terminally-incoherent.com/blog/2007/04/27/posting-twitter-updates-using-java/ I will not fix your computer. Tue, 04 Aug 2020 22:34:33 +0000 hourly 1 https://wordpress.org/?v=4.7.26 By: Terminally Incoherent » Blog Archive » Problems with the DOMParser (s4s-elt-character Error) http://www.terminally-incoherent.com/blog/2007/04/27/posting-twitter-updates-using-java/#comment-4642 Sat, 02 Jun 2007 03:24:29 +0000 http://www.terminally-incoherent.com/blog/2007/04/27/posting-twitter-updates-using-java/#comment-4642

[…] Pretty straightforward stuff – in fact, you probably find the same few lines in just about every single DOMParser tutorial out there. The xmlStream is an InputStream instance object with the XML data. Where do I get it from? I pull it off the Twitter as I described here. I tested this code before, and got the XML to print out in the console so my InputStream is not the issue here. Every time I called the parse method I got few dozen errors like this: […]

]]>
By: Luke http://www.terminally-incoherent.com/blog/2007/04/27/posting-twitter-updates-using-java/#comment-4624 Thu, 31 May 2007 01:54:30 +0000 http://www.terminally-incoherent.com/blog/2007/04/27/posting-twitter-updates-using-java/#comment-4624

Remember to flush your output stream. It worked for me when I tried it.

Reply  |  Quote
]]>
By: ashish http://www.terminally-incoherent.com/blog/2007/04/27/posting-twitter-updates-using-java/#comment-4623 Wed, 30 May 2007 21:27:46 +0000 http://www.terminally-incoherent.com/blog/2007/04/27/posting-twitter-updates-using-java/#comment-4623

I have tried the code and in the response it keeps returning my last post instead of updating the new status. Could this be just twitter?

Reply  |  Quote
]]>
By: Luke http://www.terminally-incoherent.com/blog/2007/04/27/posting-twitter-updates-using-java/#comment-4265 Sun, 29 Apr 2007 20:44:40 +0000 http://www.terminally-incoherent.com/blog/2007/04/27/posting-twitter-updates-using-java/#comment-4265

Sure thing boss. Link changed. :)

Btw, he is referring to this image.

Reply  |  Quote
]]>
By: grey http://www.terminally-incoherent.com/blog/2007/04/27/posting-twitter-updates-using-java/#comment-4264 Sun, 29 Apr 2007 20:38:24 +0000 http://www.terminally-incoherent.com/blog/2007/04/27/posting-twitter-updates-using-java/#comment-4264

Thank you for using my image on your twitter page, but would you mind providing a link to either the page it came from (http://www.wellingtongrey.net/miscellanea/archive/2007-04-28–slashdot -flowchart.html) or the main site (http://www.wellingtongrey.net/) instead of just linking to the image directly?

Thank you,

-Grey

Reply  |  Quote
]]>
By: Luke http://www.terminally-incoherent.com/blog/2007/04/27/posting-twitter-updates-using-java/#comment-4258 Sat, 28 Apr 2007 20:53:20 +0000 http://www.terminally-incoherent.com/blog/2007/04/27/posting-twitter-updates-using-java/#comment-4258

It really is. All you are doing is sending a HTTP request and receiving a response. As I illustrated before, you can do the same thing just using curl.

Reply  |  Quote
]]>
By: Wikke http://www.terminally-incoherent.com/blog/2007/04/27/posting-twitter-updates-using-java/#comment-4257 Sat, 28 Apr 2007 09:03:33 +0000 http://www.terminally-incoherent.com/blog/2007/04/27/posting-twitter-updates-using-java/#comment-4257

That seems easier than a database connection/query :)

Reply  |  Quote
]]>