jInstagram icon indicating copy to clipboard operation
jInstagram copied to clipboard

How to get list of following users of an profile?

Open echogit opened this issue 7 years ago • 2 comments

I'm trying to use the API, already can get the profile information, but can't get around to get the list of the following users of my instagram, it returns empty list, could you provide one e working example?

  String userId = instagram.getCurrentUserInfo().getData().getId();
        UserFeed following = instagram.getUserFollowList(userId);
//        Pagination pagination = following.getPagination();
//        String nextCursor = pagination.getNextCursor();
//        instagram.getUserFeedInfoNextPage(pagination);
        List<UserFeedData> users = following.getUserList();

I tried to use this pagination (commented), but really couldn't make it work.

echogit avatar Apr 20 '17 13:04 echogit

I would really appreciate if someone could show me some example as how to get a list of the following users. Cant get it to work.

echogit avatar Jun 02 '17 05:06 echogit

Same issue, do you know answer? @echogit UPDT: How I understood I couldn't get all followers & followedBy, because of SANDBOX mode, that is default on Instagram when you only created your app.

Cavayman avatar Jul 03 '17 10:07 Cavayman