dilame / instagram-private-api

NodeJS Instagram private API SDK. Written in TypeScript.
MIT License
5.92k stars 1.13k forks source link

How to search a user's follower list? #1703

Open tadao opened 1 year ago

tadao commented 1 year ago

General Question

Read the Notes and fill out the form. Switch to Preview for reading.

Form

Put an [x] if you meet the condition, else leave [ ].

Question

I want to find a specific user from a user's follower list. I can search from the iphone app. Is this possible?

sunmasters commented 1 year ago

Yes

tadao commented 1 year ago

@sunmasters Thanks for the reply. I read the source code but could not find an API that allows user search. Which API is it?

sunmasters commented 1 year ago

here is the api https://i.instagram.com/api/v1/friendships/userid/followers/?search_surface=follow_list_page&query=fir&enable_groups=true&rank_token= replace userid with user id

pdahlenburg commented 1 year ago

here is the api https://i.instagram.com/api/v1/friendships/userid/followers/?search_surface=follow_list_page&query=fir&enable_groups=true&rank_token= replace userid with user id

Getting a 404 here

Same with ig.feed.accountFollowers('userid') and feed.accountFollowing('userid');