V
V
Valery2018-09-07 10:47:44
PHP
Valery, 2018-09-07 10:47:44

php. How to get a list of a user's Instagram followers?

There is a task in the Telegram bot, after the user enters his nickname, to check his subscriptions.
I use Yii2 and https://github.com/postaddictme/instagram-php-scraper .
At the beginning, everything was fine - but after connecting a larger number of users to testing - there was a problem with an error received from Instagram about exceeding the limit.
As an option, they began to connect from different accounts (in order to bypass the limit on a specific authorized user) and use a proxy (also random).
As a result, we still get an infinity of 429 errors (rate limit), as well as unstable authorization - i.e. out of 5 created accounts of the same type, 2 are stably authorized, and 3 are either authorized once or not authorized at all.
I was looking for analogues of the library - but I did not find anything sensible for the task of obtaining subscriptions.
I looked in the direction of the application - but, as I understand it, the requirements there are very strict + you need a screencast for the finished application, and based on the fact that the work will be in the Telegram bot, there is a big risk of not passing the test.
Who ran into the problem - how to solve? Maybe some other libraries...
Thank you.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question