sbertix / Swiftagram

A modern Swift wrapper for Instagram Private API.
Apache License 2.0
247 stars 35 forks source link

Followers / Following endpoint error #46

Closed aslios closed 4 years ago

aslios commented 4 years ago

Hi Sbertix, I so much business ur api nowadays :) but i have problem please help me.I created a algorithm for find my lost followers and gained followers.Because of this i get my followers and my following via ur api and compare.. But when i try to get my followers or following ( Endpoint.Friendship.followed(by: secret.identifier) run this code 2-3 time ) i get this error => "Please wait a few minutes before you try again.." and my code is not working :( I know this error due to instagram filters.But there are too much application in app store do this same algorithm succesfuly without error.How can they do this? how can i pass this error? sometimes i run this code first time and i get this error.How can i get my lost followers and gaind followers without error?

sbertix commented 4 years ago

It's mostly about timing, you just need to wait longer before pagination requests.\ That's the only trick.

Almost every app on the App Store actually scrapes the followers page, instead of using the private API, which doesn't appear to have the same rate limits.

Unfortunately followers/following endpoints are extremely restricted, and you might trigger that same error even just manually checking your Instagram app.

Not much I can do to help unfortunately.