b31ngd3v / MyIGBot

MyIGBot is a Private API for Instagram to like, follow, comment, view & intaract with stories, upload post & stories, get all information about a user/posts and get posts based on locations/hashtags. It also supports proxy.
https://pypi.org/project/myigbot/
MIT License
172 stars 36 forks source link

"post_likers" function returns incorrect amount of likers on a post #2

Open grantjayy opened 3 years ago

grantjayy commented 3 years ago

Hi there,

The post_likers function does not return the exact amount of likers on any post with more than 128 likes.

post = "https://www.instagram.com/p/CDbt2ikF2q9/"

like_count = bot.like_count(post)
print(like_count)
response = bot.post_likers(post, limit=like_count)
print(len(response))

returns:

841
504

Really enjoy the bot you've written so far - nice work!

b31ngd3v commented 3 years ago

First of all thanks @grantjayy for opening this issue. I've checked what you said with different posts, and I found that the specific post you mentioned have a big difference between the number of likers and there usernames. But when I tried other posts the difference is not that big and it's negligible. The screenshot of the output/results the image is attached. And again thanks for using my api and opening this issue.

image

mapanare commented 3 years ago

Thankful for this app

certainly in a post of 9000 like it only brings me 3000