*/
String accessToken = "7073519.44e6baf.d44336e2e99741f6a5bed94b26f1699c";
Token secretToken = new Token(accessToken,null);
Instagram instagram = new Instagram(secretToken);
UserInfo userInfo = instagram.getCurrentUserInfo();
MediaFeed mediaFeed = instagram.getRecentMediaFeed(userInfo.getData().getId());
// MediaFeed mediaFeed = instagram.getUserFeeds();
List<MediaFeedData> mediaList = mediaFeed.getData();
for(MediaFeedData data : mediaList) {
System.out.println("data : " + data.getId());
instagram.setMediaComments(data.getId(), "Comment was created at " + new Date().toString());
}
System.out.println("***** User Info ******");
System.out.println("Username : " + userInfo.getData());
MediaInfoFeed infoFeed = instagram.getMediaInfoByShortcode("svzdnlDBLs");
System.out.print("***** Feed Info ******");
System.out.print("Caption : " + infoFeed.getData().getCaption().getText());
}