dilame / instagram-private-api

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

Instagram Private API limits for personal use #1534

Closed ghost closed 1 year ago

ghost commented 3 years ago

I want my users to use this endpoints to get their data. I mean each user will use their own cookies. Is there any problem with that? I don't want them to block their accounts. Is there any limits?

For a scenario:

User x, 10k followers, 5k followings,

User x logins. program gets the cookie.

Then user requests endpoints by the app, Each user is going to use his/her own ip address and cookies.

What happens if the user request his/her data 3 times in a day? User will do minimum 1k requests in a day. Is it okay?

keharv commented 3 years ago

Using pagination you should have no issues grabbing follower/following. Rate limits are entirely dependent on what you're having them do. My biggest recommendation is to implement the IG session example to prevent their account from being locked from logging in so frequently.

ghost commented 3 years ago

@keharv I am not the expert of the issue but can you explain me IG session more ? what is it exactly? are the cookies not enough?

keharv commented 3 years ago

https://github.com/dilame/instagram-private-api/blob/master/examples/session.example.ts