Using Twitter API With Java explains step by step details of Configuring Twitter API With Java.
How to configure Twitter API With Java?
The following are some of the possibilities that you have, in order to integrate Twitter service
- Twitter4J on http://twitter4j.org/
- java-twitter on http://code.google.com/p/java-twitter/
- JTwitter on http://www.winterwell.com/software/jtwitter.php
On this Twitter4J Example, I am showing How to use twitter with Twitter4J
Twitter4J is a free open source API (Twitter4J is not maintained by Twitter service) By using this API you can easily integrate Twitter service with your Java application.
First you need to create a twitter application, for this you need to use following link
You need to login with twitter credentials, a twitter account is mandatory (please see the below screenshot)
After the registration, you will get two types of credentials
- Consumer key
- Consumer secret
- Access token
- Access token secret