sachin-handiekar/jInstagram

How to get list of following users of an profile?

echogit opened this issue · 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.

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.

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.