subzeroid / instagrapi

🔥 The fastest and powerful Python library for Instagram Private API 2024
https://hikerapi.com/p/bkXQlaVe
MIT License
4.21k stars 667 forks source link

How to search in media likers? #842

Open Dentrax opened 2 years ago

Dentrax commented 2 years ago

In mobile app we are able to search in media likes as following:

Screen Shot 2022-08-13 at 13 51 52

Instead of calling media_likers() and traversing the entire list to check if given user exists, is there any way to do search in media likers? (because this api is rate limited to ~1k likes) I couldn't see in the media documentation, so I filed this.

I somewhat needed media_likers_search(media_id: str, search: str) that returns list of user.

adityaa-codes commented 2 years ago

you can get the list of media likers and search it locally at your end.

Dentrax commented 2 years ago

you can get the list of media likers and search it locally at your end.

Due to #657, instead of getting list of media likers, I'm looking for the related search endpoint like how Instagram did in mobile app.

kingbotss commented 2 years ago

In the app, It will search from already loaded list, not from all likers.

Dentrax commented 2 years ago

In the app, It will search from already loaded list, not from all likers.

Oh, I see now. Are you claiming that Instagram also rate limited by their own API? (since aforementioned issue mentions related endpoint returns max ~1K users)?

kingbotss commented 2 years ago

But it's not called rate limits, it is the max limit for each media on the app(1k likers).

adityaa-codes commented 2 years ago

app and api works differently

kingbotss commented 2 years ago

app and api works differently

I don't think it works different.

hailovigor commented 8 months ago

Tell me please how to get 1000 likes, not 100? HikerAPI does it

kingbotss commented 8 months ago

I know. I can't share. Publicly.