E
E
estry2020-03-28 12:17:30
C++ / C#
estry, 2020-03-28 12:17:30

How to get a list of Instagram users using InstaApiSharp?

Hello. I'm trying to use the InstagramApiSharp
lib I did the authorization. The question is how to get the users of a specific user?
There is a method in either that returns subscribers:

var userFollowers = await InstaApi.UserProcessor
    .GetUserFollowersAsync("username", PaginationParameters.MaxPagesToLoad(1));

Works without errors. I can't figure out how to get a list of users from the response?
Thank you all in advance for your help

Answer the question

In order to leave comments, you need to log in

1 answer(s)
X
xellan24rus, 2020-04-18
@estry

Hello, I output it like this:
userFollowers.Value.Count;
Countdisplays in numbers like 100. If you need a list - in letters, deleteCount

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question