I have just posted my first tweet from Java
” A Visit to Transylvania” by Euromaxx: Lifestyle Europe (DW) http://t.co/MJFDD4540y
— Podcastpedia.org (@podcastpedia) December 21, 2013
and I still can’t believe how easy and fast it was. The actual coding took like 2 minutes, whereby the remaining 8 minutes were needed to setup a Twitter application to be able to post in the first place. Not only that, but it worked from the first try, therefore I had to stop coding and start blogging about it. This was made possible by Twitter4j (thank you very much Yusuke):
“Twitter4J is an unofficial Java library for the Twitter API. With Twitter4J, you can easily integrate your Java application with the Twitter service. Twitter4J is an unofficial library”
Source code for this post is available on Github - podcastpedia.org is an open source project.