InstaSharper
InstaSharper copied to clipboard
InstaMedia.Likers doesn't work
So I tried playing around with the API abilities and while trying to get the list of users that liked a post of mine, the function doesn't seam to work, it returns a null list.
Here is the code:
IResult<InstaMediaList> posts = await api.GetUserMediaAsync("myusername",PaginationParameters.MaxPagesToLoad(Int32.MaxValue));
var post = posts.Value.FirstOrDefault();
foreach (var item in post.Likers)
{
Console.WriteLine(item.UserName);
}
while debugging it, I saw that when trying to enter the foreach, it jumps out, and the reason for that is because the post.Likers has no content in it.
Any help?