Instagram-php-scraper: getAccount 302 error

Created on 5 Jan 2021  ·  2Comments  ·  Source: postaddictme/instagram-php-scraper

Getting error when trying to get this account info

$instagram = new \InstagramScraper\Instagram(new \GuzzleHttp\Client());

// For getting information about account you don't need to auth:

$account = $instagram->getAccount('lisboacool');

Most helpful comment

302 redirect (to login page) typically happens if you try to connect to Instagram via datacenter ip range. Instagram only allows residential ip addresses so your best bet is to use 1) your home network, 2) clean residential proxies or 3) this repo fork https://github.com/restyler/instagram-php-scraper

All 2 comments

302 redirect (to login page) typically happens if you try to connect to Instagram via datacenter ip range. Instagram only allows residential ip addresses so your best bet is to use 1) your home network, 2) clean residential proxies or 3) this repo fork https://github.com/restyler/instagram-php-scraper

302 редирект (на страницу входа) обычно происходит, если вы пытаетесь подключиться к Instagram через диапазон IP-адресов центра обработки данных. Instagram разрешает только частные IP-адреса, поэтому лучше всего использовать 1) вашу домашнюю сеть, 2) чистые жилые прокси или 3) эту вилку репо https://github.com/restyler/instagram-php-scraper

{"message":"You are not subscribed to this API."}

Was this page helpful?
0 / 5 - 0 ratings

Related issues

pauloamorimbr picture pauloamorimbr  ·  7Comments

kiskaserver picture kiskaserver  ·  4Comments

fsjdg picture fsjdg  ·  8Comments

luengwaiban picture luengwaiban  ·  5Comments

alabamaster picture alabamaster  ·  6Comments