orsifrancesco / instagram-without-api

A simple PHP code to get unlimited instagram public pictures by every user without api, without credentials.
https://orsi.me/instagram-without-api/
MIT License
48 stars 13 forks source link

cookie expired after few request #3

Closed talha-rafique closed 1 year ago

talha-rafique commented 1 year ago

Hi, i have tried this many times and Instagram cookies expired after a certain time and no. of requests.

whats the solution you have for this ?

orsifrancesco commented 1 year ago

Hi, could you be more specific about the quantity of requests you did? For security reasons I can guess Instagram "kills" your cookie if you "abuse" about it. I tried using cookies from different browsers but I don't know why, from Chrome it looks more "stable" and hard to expire to me.. but it is just a feeling.

orsifrancesco commented 1 year ago

@talha-rafique actually there is a solution.. more cookies (from different instagram accounts) in one array.. every call you use a different cookie in loop ;)