pgrimaud / instagram-user-feed

This is a scrapper to easily fetch any feed and interact with Instagram (like, follow, etc.) without OAuth for PHP.
MIT License
882 stars 138 forks source link

Error: Client error: `GET https:\/\/i.instagram.com\/api\/v1\/users\/web_profi #292

Open irfancantaysi opened 2 years ago

CarlPiper commented 2 years ago

I'm also now experiencing this issue regularly.

To resolve I have to log into Instagram and click this was me.

I believe it's caused by me accessing Instagram from one country and the server accessing it in another.

aroy314 commented 2 years ago

I have the same issue on production :

Error: Client error: GET https://i.instagram.com/api/v1/users/web_profile_info/?username=farnienteplage resulted in a 429 Too Many Requests response:

<!DOCTYPE html>
<html lang="en" class="no-js logged-in ">
   <head>
       <meta charset="utf-8">
       <meta http-e (truncated...)

My code executes only one request at a time, so no reason to think it asks too much from the Instagram API

I don't have anything to validate if I go to https://www.instagram.com/session/login_activity/ or just by going to instagram main page with the same account.

I made sure the credentials are working correctly.

Any hint ?