instagram-private-api icon indicating copy to clipboard operation
instagram-private-api copied to clipboard

Please wait a few minutes before you try again.

Open eliasjnior opened this issue 4 years ago • 8 comments

I'm having some error with the following script:

const userSaved = ig.feed.saved()
do {
    const data = await userSaved.items()
    for(const item of data) {
        await ig.media.unsave(item.pk)
    }
} while(userSaved.isMoreAvailable())

I'm not sure why, but in web version I can unsave the media, but the unsave is not working on API, it's showing "Please wait a few minutes before you try again.". I'm not exactly sure why.

eliasjnior avatar Sep 07 '20 17:09 eliasjnior

Have you tried waiting a few minutes or hours without doing anything?

Nerixyz avatar Sep 07 '20 18:09 Nerixyz

@Nerixyz yes. Actually I waited a day. The strange thing is that in web version I can do the request normally.

eliasjnior avatar Sep 07 '20 18:09 eliasjnior

@Nerixyz funny thing. Just worked. But I think may have something that could limit based on device or something like that? Because the call to feed was working, but to unsave wasn't. In web version was working.

I was trying to change the device or something like that, but fortunately or not, started working again. I will try to "get blocked" again to test that.

eliasjnior avatar Sep 07 '20 21:09 eliasjnior

@Nerixyz funny thing. Just worked. But I think may have something that could limit based on device or something like that? Because the call to feed was working, but to unsave wasn't. In web version was working.

I was trying to change the device or something like that, but fortunately or not, started working again. I will try to "get blocked" again to test that.

The limit is tied to the account it self, instagram app and Web are independent.

Oyetomi avatar Sep 09 '20 10:09 Oyetomi

@virginsince1997 hm... By the way, is there any possible to run a batch unsave like in app can?

eliasjnior avatar Sep 09 '20 17:09 eliasjnior

Is there any way around this problem?

vitor7001 avatar Jan 21 '21 18:01 vitor7001

Is there a away to avoid this issue, for instance do a 'x' requests per hour?

adrielkirch avatar Feb 24 '22 15:02 adrielkirch