Home > Java, Open Source, Review, Software > Free Java Twitter API – Download Twitter4J

Free Java Twitter API – Download Twitter4J

March 22nd, 2010


Many websites or applications are now integrating with Twitter following the popular usage of Twitter as the new age social media.

We see many twitter clients and for those who wanted to build their own Twitter clients or apps that integrate with the twitter API in Java, Twitter4J is the solution.

Twitter4J is a 100% Java API and a open source solution.
Source code is available for download and the API that you can use is very straightforward and easy.

Examples:

Simple Update

Twitter twitter = new Twitter(username, password);
Status status = twitter.updateStatus(“This is a test update tweet”);

The basic integration will require the credentials information, that is the username and password.
This is called basic authentication.

Twitter actually uses OAuth as well, a protocol that allows applications to integrate with it with software keys instead of users’ username and password.
Unless you are building Twitter applications or clients solely for your own use, you should seriously consider using OAuth API.

 Follow me on twitter.





Java, Open Source, Review, Software

, , ,

You might like the following posts too :

  • » Redis in Action by Josiah L. Carlson
  • » Redis Cookbook by Tiago Macedo, Fred Oliveira
  • » Continuous Enterprise Development in Java by Andrew Lee Rubinger, Aslak Knutsen
  • » Developer Programs
  • » Running JUnit tests in Maven with Surefire Plugin and skipTests in default packaging