Instagram Massive ban accounts
Expected Behavior
I'm using instapy like a 1 year ago in my personal account suddenly yesterday i try to log in and instagram said that doesn't exist then i try to see the on webpage the same error looks like it was tottaly deleted, instagram never send me and email or something, i run this on Dalas Server, i use this to help some friends and i stop all the bots being afraid of thei get deleted accounts i want to know if it was InstaPy so i give you here mi configuration file
Current Behavior
works normal
Possible Solution (optional)
i dont know what to do
## InstaPy configuration
from instapy import InstaPy
from instapy import Settings
import schedule
import sqlite3
import time
defaultComments=[u"Super tu foto :thumbsup:",
u"Saludos",
u"Que buena foto",
u"Ten un buen dia",
u"Cool :thumbsup:",
u":+1: :+1: :+1: :+1:",
u":clap: :clap: :clap: :clap: :clap:",
u"super!!",
u"Feliz dia :v:",
u":cool:",
u"Excelente :sunglasses:",
u":ok_hand: :ok_hand: :ok_hand:",
u"Muy buen dia para vos",
u"Es una buena foto :ok_hand:",
u"Con entusiasmo todo es posible",
u"El dia puede ser bueno o malo, es tu decision :v:",
u"Ten una excelente semana :punch:",
u"Cada dia es una nueva oportunidad :point_up:",
u"Omite lo malo, potencia lo bueno :top: :top:",
u"Lo bueno ocurre cuando piensas positivo :punch:",
u"super!!",
]
class InstaBot:
def __init__(self,user,password,hashtags,rivals,howToUnfollow,listOfComments=defaultComments):
self.user=user
self.password=password
self.hashtags=hashtags
self.rivals=rivals
self.howToUnfollow=howToUnfollow
self.listOfComments=listOfComments
pass
def like(self):
try:
# set these if you're locating the library in the /usr/lib/pythonX.X/ direc$
# Settings.database_location = '/var/www/html/tabu/tabu.db'
# Settings.browser_location = '/path/to/chromedriver'
session = InstaPy(username=self.user,
password=self.password,
headless_browser=True,
bypass_suspicious_attempt=False,
multi_logs=True)
session.login()
# actions
session.set_relationship_bounds(enabled=True,
potency_ratio=1.34,
delimit_by_numbers=True,
max_followers=8500,
max_following=4490,
min_followers=100,
min_following=56)
session.set_user_interact(amount=2, randomize=True, percentage=50,
media='Photo')
session.set_do_follow(enabled=True, percentage=70)
session.set_do_like(enabled=True, percentage=70)
session.set_comments(self.listOfComments)
session.set_do_comment(enabled=True, percentage=10)
#session.like_by_tags(['lipoblue','gym','crossfit'], amount=150)
#session.set_smart_hashtags(self.hashtags, limit=8, sort='top', log_tags=True)
session.like_by_tags(self.hashtags, amount=100)
except:
import traceback
print(traceback.format_exc())
finally:
# end the bot session
session.end()
def job(self):
# set headless_browser=True if you want to run InstaPy on a server
try:
# set these if you're locating the library in the /usr/lib/pythonX.X/ direc$
# Settings.database_location = '/var/www/html/tabu/tabu.db'
# Settings.browser_location = '/path/to/chromedriver'
session = InstaPy(username=self.user,
password=self.password,
headless_browser=True,
bypass_suspicious_attempt=False,
multi_logs=True)
session.login()
# settings
session.set_relationship_bounds(enabled=True,
potency_ratio=1.34,
delimit_by_numbers=True,
max_followers=8500,
max_following=4490,
min_followers=100,
min_following=56)
session.set_user_interact(amount=2, randomize=True, percentage=50,
media='Photo')
session.set_do_follow(enabled=True, percentage=70)
session.set_do_like(enabled=True, percentage=70)
session.set_comments(self.listOfComments)
session.set_do_comment(enabled=True, percentage=10)
session.interact_user_followers(self.rivals, amount=100,
randomize=True)
except:
import traceback
print(traceback.format_exc())
finally:
# end the bot session
session.end()
def unfollow(self):
# set headless_browser=True if you want to run InstaPy on a server
try:
# set these if you're locating the library in the /usr/lib/pythonX.X/ direc$
# Settings.database_location = '/var/www/html/tabu/tabu.db'
# Settings.browser_location = '/path/to/chromedriver'
session = InstaPy(username=self.user,
password=self.password,
headless_browser=True,
bypass_suspicious_attempt=False,
multi_logs=True)
session.login()
# settings
session.set_user_interact(amount=2, randomize=True, percentage=50,
media='Photo')
session.set_do_follow(enabled=False, percentage=70)
session.set_do_like(enabled=False, percentage=70)
session.set_do_comment(enabled=True, percentage=10)
#Unfollow
session.unfollow_users(amount=150, nonFollowers=True, style="RANDOM", unfollow_after=42*60*60, sleep_delay=655)
except:
import traceback
print(traceback.format_exc())
finally:
# end the bot session
session.end()
Were you using a proxy? If your account is running in a datacenter with a datacenter IP it is more likely to get banned (or even deleted) I'm facing some issues since yesterday too, apparently instagram is now detecting headless browsers (or at least firefox). I already checked my proxy provider functionality and it works perfectly while using a regular browser. My issue shows the "Phew! Last follow is not verified" message and the likes it says it performs, are not showing up while browsing the app. I already sent a mail to you in case that you want to talk this privately.
@octavius-1 do you have more information ? I also have issue with Instagram since yesterday. They are blocking my actions when they use not to.
@ccanete What information do you need? My investigation of those actions? I haven't been able to track what's happening, I'll update this thread as soon as I can conclude something useful.
@octavius-1 that would be very appreciated! I'm running also investigation on my side. One hypothesis I had is that Instagram changed the way they calculate actions limits. But I did not consider the fact that they detect the headless versions. I'll try to change the user agent to see if it changes something.
I don't think the actions limit is an issue here because the "ban" is just happening inside the server (with its proxy enabled) and not in the account itself (like it used to happen before). I have a dummy account running right now for a more specific tracking of these actions, let's wait and see.
Hi guys, @octavius-1 ill send you the email whit all the info that you ask, but i want to tell you that today ill try to search my instagram account and its there idon't know what happend,
those photos are from yesterday
today the account its seem normal
@CamiloB Maybe a warning from instagram? Something like "We know what you're doing and here's what we can do". Did you notice something different in instapy logs?
@octavius-1 no nothing, just disappear and then appear from no where, instagram not send me any email, don't have any notification when i login into the app, yes the logs that i have ist that the last follow does not verify, like you the only thing that works normally its the unfollow method
Today i've recieved a notification from Instagram, saying something like "looks like you are using and third app to put likes and follows, we are going to delete all that actions, please change your password". So i believe that we should limit more our actions with instapy.
This is my config: session.set_delimit_liking(enabled=True, max=30, min=0) session.set_delimit_commenting(enabled=True, max=10, min=0) session.set_action_delays(enabled=True,like=30,comment=30,follow=60) session.set_do_like(enabled=True, percentage=100) session.set_do_comment(enabled=True, percentage=30) session.set_do_follow(enabled=True, percentage=100, times=1) session.follow_user_followers(targets, amount=3000, randomize=False, interact=True) session.join_pods()
Edit: Im using instapy in my laptop, no proxy, no headless.
@nbgabriel Do you use Quota supervisor? Do you handle times after every action? Do you have random sleeps inside your actions? It looks like you’re just massively using the tool
Edit: I see that you’re using delays but I think that’s not enough, does your config sleep at night? Can you post the message that Instagram sent? (Hide your personal info if you choose to)
Sent with GitHawk
"It looks like you’re just massively using the tool"
Yes...... i know :(. I was only using the actions delays. Now i will take a break, and then set the quota supervisor.
ill do the same look like i was using this to massive, thanks a lot @octavius-1
I felt like instagram definitely implemented some new follow action limit with their new update. All my accounts (like a dozen) got follow ban yesterday. :(
@hw711 Yes they did, same happened here. In two of my accounts I got follow ban for unfollowing too many people manually (yes, its weird but it happened that way)
Sent with GitHawk
@octavius-1 @hw711 if you find a way not to be ban, please let me know 🙏 I'm suspecting Instagram not only to monitor number of actions but also automation pattern. I have not correlation between the number of accounts followed per hour or day and the moment I get banned. Also, all bans seem to occur pretty much at the same time on all accounts.
Probably just need to wait it out. Now you mentioned it, I rechecked my logs. Â All my accounts (running across 5 different azure virtual machines) got banned around 6/4 11:19AM CST. Â Very strange. If they start looking for automation patterns, I will probably write some code to do random small patches of rotating follow/unfollow (maybe mix in some likes) throughout the day instead of my current big batch 500-600 follow then unfollow.
Hey guys, It looks likes we all have been banned from following new user on the previous days. I was banned since yesterday and compared to like ban, there is no delay on how long this ban will be.
By the way, I don't know if it is related or not but I move the configuration from 'classic browser' to 'headless_brower' and since then I have been ban 2 or 3 times since then. One or two "liking ban" and one "following ban". I guess it's easier for their algorithm to detect headless_brower and maybe we need to move back to classic browser or change the User-Agent.
Anyway, let's see what will come in the next days about this massive following ban.
I have never used headless mode. I don't even minimize the browser because I don't think instapy gets all the commenters/likers when browser is minimized.
The new instagram update is really buggy too. One of my account's follower count kept on fluctuating between 4 and the correct number and graphql only returns 4.
Got banned from following too