- instagram apiKey apiSecret. URL- .
InstagramService service = new InstagramAuthService()
.apiKey("e607b7XXXce54e729bXXXXf40162")
.apiSecret("651cXXX2ab348a3XXXXa7ae90c6d")
.callback("http://www.cagdasalagoz.com")
.scope("basic public_content likes comments follower_list relationships")
.build();
.
String authorizationUrl = service.getAuthorizationUrl();
System.out.println(authorizationUrl);
Scanner sc = new Scanner(System.in);
System.out.println("Paste the code gotten in the browser (at the end of the URL): ");
String verCode = sc.nextLine();
Verifier verifier = new Verifier(verCode);
Token accessToken = service.getAccessToken(verifier);
Instagram instagram = new Instagram(accessToken);
, .
String tag="seaside";
instagram.getRecentMediaFeedTags(tag);
jInstagram .