linkfy / Tools-for-Instagram

Automation scripts for Instagram
MIT License
501 stars 77 forks source link

Max items for accountFollowersFeed? #39

Open mdings opened 3 years ago

mdings commented 3 years ago

Is there currently a limit in the amount of items that the accountFollowersFeed returns? If so, how can I query the full list?

I noticed that the src for getMyLastFollowers slices the result coming back from the API. So imo, without a proper way to set the order of items (for example by date), this will never be a reliable way to get the latest followers.

Oyetomi commented 3 years ago

True. You have to programmatically sort it.

On Thu, 26 Nov 2020, 5:34 pm Maarten Dings, notifications@github.com wrote:

Is there currently a limit in the amount of items that the accountFollowersFeed returns? If so, how can I query the full list? I noticed that the src https://github.com/linkfy/Tools-for-Instagram/blob/master/src/getMyLastFollowers.js for getMyLastFollowers slices the result coming back from the API. So imo, without a proper way to set the order of items (for example by date), this will never be a reliable way to get the latest followers.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/linkfy/Tools-for-Instagram/issues/39, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFB4NEUCFNGROJBFJNQSQ43SRZ7RVANCNFSM4UD6EXAA .

mdings commented 3 years ago

Ok that's all good. But the question remains then whether await accountFollowersFeed.items() return ALL the followers for the feed in one go. Or does the response contain an iterator or something?