0

I want to integrate Instagram in my Android application. Successfully I finished login, but I don’t know how to get user shared images through Instagram. I have tried so far to get the user info:

URL url = new URL(API_URL + "/users/" + mSession.getId() + "/?access_token=" + mAccessToken);

Then I got a link for to get user photos here, but on that link I don’t know what is PhotoSet set = new PhotoSet(); and thesets.add(set);.

Anyone please explain the above link or give me any other sample code to solve this problem.

Community
  • 1
  • 1
John
  • 1,407
  • 7
  • 26
  • 51

1 Answers1

0

Not the answer you want, but Instagram does have support for RSS, you can even get the RSS feed for a hashtag. Obviously if they have a proper API you should use it, but sometimes the simplest solution is RSS. Here is a StackOverflow thread which may help.

Community
  • 1
  • 1
Muskie
  • 577
  • 3
  • 21