Skip to content

Faster followers/following #147

Answered by sbertix
anilsari asked this question in Q&A
Discussion options

You must be logged in to vote

Hey @anilsari,

Assuming you're not actually printing the results in the your code (as printing each element to the console is of course a lot slower than processing it), it's a valid question.

Swiftagram is based on Instagram Private APIs, which are used by the official apps to deal with user interaction. They're not meant for bots and they're severely limited to prevent abuses.
So, unfortunately there's not a quicker way to deal with it using them – especially for friendship endpoints, which are heavily rate limited.

Most apps relying on "quick" followers/following pagination tend to use a scraper instead. The implementation is pretty straightforward, if you base it on Instagram mobile w…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by sbertix
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants