A Java wrapper for the Instagram API.
Note : jInstagram uses code from the [scribe-java] (https://github.com/fernandezpablo85/scribe-java) library developed by [Pablo Fernandez] (https://github.com/fernandezpablo85).
##Usage
- Create the InstagramService object
InstagramService service = new InstagramAuthService()
.apiKey("your_client_id")
.apiSecret("your_client_secret")
.callback("your_callback_url")
.build();
Note : An empty token can be define as follows -
private static final Token EMPTY_TOKEN = null;
- Validate your user against Instagram
String authorizationUrl = service.getAuthorizationUrl(EMPTY_TOKEN);
- Getting the Access Token
Verifier verifier = new Verifier("verifier you get from the user");
Token accessToken = service.getAccessToken(EMPTY_TOKEN, verifier);
- Creating the Instagram Object
Instagram instagram = new Instagram(accessToken);
##Instagram API Endpoints
Please see the API Usage for more details.
##Maven
<dependency>
<groupId>com.sachinhandiekar</groupId>
<artifactId>jInstagram</artifactId>
<version>1.0.1</version>
</dependency>
##Dependencies
- Google GSON (http://code.google.com/p/google-gson/)
##About me
- Email : sachin.handiekar at gmail.com / sach21 at gmail.com
- Twitter : @sachinhandiekar