Skip to content
This repository has been archived by the owner on Apr 28, 2020. It is now read-only.

How to get list of following users of an profile? #199

Open
echogit opened this issue Apr 20, 2017 · 2 comments
Open

How to get list of following users of an profile? #199

echogit opened this issue Apr 20, 2017 · 2 comments

Comments

@echogit
Copy link

echogit commented Apr 20, 2017

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
Copy link
Author

echogit commented Jun 2, 2017

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.

@Cavayman
Copy link

Cavayman commented Jul 3, 2017

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants