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
873 stars 136 forks source link

Generic error / Your IP may be block from Instagram. You should consider using a proxy. #299

Open rohit-chouhan opened 2 years ago

rohit-chouhan commented 2 years ago

Version(s) affected: x.y.z

Description
Generic error / Your IP may be block from Instagram. You should consider using a proxy.

aroy314 commented 2 years ago

Guide for proxy : https://github.com/pgrimaud/instagram-user-feed/blob/master/examples/using-proxies.php

steeveci commented 2 years ago

Hello, I followed the guide for proxy, using 3 proxy and I still have the same "Generic error / Your IP may be block from Instagram. You should consider using a proxy".

sportakal commented 2 years ago

I am getting this too. I am used private proxy and clearly followed the guide. Anyone find solution?

aroy314 commented 2 years ago

What I did to fix the issue is to use a proxy with an IP that is not in a datacenter (like a raspberryPi on my router at home) so I don't get banned from Instagram as it seems to be a connection from a "normal" user.

pgrimaud commented 2 years ago

What I did to fix the issue is to use a proxy with an IP that is not in a datacenter (like a raspberryPi on my router at home) so I don't get banned from Instagram as it seems to be a connection from a "normal" user.

How many requests are you doing every day?

aroy314 commented 2 years ago

As I cache my data for 6 hours, I do only about a hundred calls per day (according to squid logs)

gergel0304 commented 2 years ago

Same problem

gergel0304 commented 2 years ago

I have tried different proxy (personal) but I always be blocked by Instagram, get "Generic error / Your IP may be block from Instagram. You should consider using a proxy."

m33ts4k0z commented 2 years ago

Actually I was having the same issue and @aroy314 advice did work. I used a proxy to a non-datacenter IP and the bans stopped. @gergel0304 the ban will be lifted eventually but even if you begin using the same IP again, it will get rebanned quite fast :D

aroy314 commented 2 years ago

@gergel0304 have you tried with a different Instagram account + your personnal proxy ? I had to create a new account while waiting for the first one to be unbanned.

gergel0304 commented 2 years ago

@aroy314 I try to create new account, but it also be banned. Maybe data center, where I take proxy is already banned by Instagram. Can anybody advice, where to buy good proxy to use with Instagram?

gergel0304 commented 2 years ago

It seems I have found :)

WallisonBreno commented 1 year ago

It seems I have found :)

Please send to me what you have found

stuartcusackie commented 1 year ago

Just ran into this problem. First my account was locked, then the IP address was blocked. I make one call every hour / 24 calls per day.

timohausmann commented 1 year ago

I made one call every 4 hours and ran into this issue aswell. I switched to the official Instagram BasicDisplayAPI now, since I only need post data from one customer account.