Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Instagram Massive ban accounts #4490

Open
CamiloB opened this issue May 30, 2019 · 312 comments

Comments

@CamiloB
Copy link

commented May 30, 2019

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()
            


@octavius-1

This comment has been minimized.

Copy link

commented May 31, 2019

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.

@ccanete

This comment has been minimized.

Copy link

commented May 31, 2019

@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.

@octavius-1

This comment has been minimized.

Copy link

commented May 31, 2019

@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.

@ccanete

This comment has been minimized.

Copy link

commented May 31, 2019

@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.

@octavius-1

This comment has been minimized.

Copy link

commented May 31, 2019

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.

@CamiloB

This comment has been minimized.

Copy link
Author

commented May 31, 2019

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,
IMG_8564
IMG_8563
those photos are from yesterday

today the account its seem normal

@octavius-1

This comment has been minimized.

Copy link

commented May 31, 2019

@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?

@CamiloB

This comment has been minimized.

Copy link
Author

commented May 31, 2019

@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

@nbgabriel

This comment has been minimized.

Copy link

commented May 31, 2019

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.

@octavius-1

This comment has been minimized.

Copy link

commented May 31, 2019

@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

@nbgabriel

This comment has been minimized.

Copy link

commented May 31, 2019

"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.

@CamiloB

This comment has been minimized.

Copy link
Author

commented Jun 2, 2019

ill do the same look like i was using this to massive, thanks a lot @octavius-1

@CamiloB CamiloB closed this Jun 2, 2019

@hw711

This comment has been minimized.

Copy link

commented Jun 5, 2019

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. :(

@octavius-1

This comment has been minimized.

Copy link

commented Jun 5, 2019

@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

@ccanete

This comment has been minimized.

Copy link

commented Jun 5, 2019

@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.

@CamiloB CamiloB reopened this Jun 5, 2019

@hw711

This comment has been minimized.

Copy link

commented Jun 5, 2019

@Herrox

This comment has been minimized.

Copy link
Contributor

commented Jun 5, 2019

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.

@hw711

This comment has been minimized.

Copy link

commented Jun 5, 2019

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.

@hw711

This comment has been minimized.

Copy link

commented Jun 5, 2019

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.

@cbyrt01

This comment has been minimized.

Copy link

commented Jun 5, 2019

Got banned from following too

@socialsplice

This comment has been minimized.

Copy link

commented Jun 5, 2019

Same here. Any updates?

@octavius-1

This comment has been minimized.

Copy link

commented Jun 5, 2019

@ccanete @hw711 My scripts have random delays after every action and also after every group of actions. Also I just perform a small amount of actions and then jump to another ones. Even with all of that security I've been building, the follow blocking still happened while using a graphic browser (non-headless) using my home internet.

@hw711 I've seen that bug too. One of the accounts I handle has been fluctuating from 0 to 1 followers.

And yes guys, our theories are correct, instagram is hunting us harder than ever. What we need to know is if they're hunting action numbers, browsing style (headless or not) or IPs. BTW, my theory is that they're hunting all of them at once.

If any of you has any idea of how to solve, improve or debug this, I'm open to suggestions.

@leaopedro

This comment has been minimized.

Copy link

commented Jun 5, 2019

Here it shows the "Phew!" message when on headless browser, but it works when I use classic browser. I believe they are developing some way of detecting automations, and probably headless browsers trigger a red flag there.

@octavius-1

This comment has been minimized.

Copy link

commented Jun 5, 2019

@leaopedro Yes, we all started noticing that first last week, it won't take long until you start receiving the follow block notification.

Do any of you guys use headless chrome?

My IP ban for follows was achieved by running headless firefox with proxy on AWS.

My follow block ban was achieved by running regular chrome with residential network in a raspberry.

@leaopedro

This comment has been minimized.

Copy link

commented Jun 5, 2019

Hi @octavius-1, I use Chrome Driver

@octavius-1

This comment has been minimized.

Copy link

commented Jun 5, 2019

Okay, so no one is immune to this new massive hunting Instagram is performing, even the accounts that run on residential with an opened explorer window are being caught.

Any ideas, guys?

@Herrox

This comment has been minimized.

Copy link
Contributor

commented Jun 5, 2019

Yeah I think headless browser may not not as good as a real browser. The closer we stick to any human being (with a real web browser), the better it is but like @octavius-1 said the banning algorithm have hundreds of parameters

@octavius-1

This comment has been minimized.

Copy link

commented Jun 5, 2019

@Herrox Yes, I used to think that the headless browsers were the triggering scenario, until yesterday, when my personal account running in a real browser in a real residential network, got follow blocked. Also, my quota supervisor is low with high delay times, I'll attach my config:
likes: 30,400; follows: 40, 600; unfollows: 45, 700.
sleep after: server_calls, follows_h, unfollows_h
delays: like:15, follow:60, unfollow:25, random_range:80,150

@cw7github

This comment has been minimized.

Copy link

commented Jul 14, 2019

Deleting cookies worked for me but I needed to warm up the account again - to keep growing with very low settings. On a few they were action blocked after a few interactions and so I stopped running their accounts for a week, which should help.

I keep saying once you get a block - you should wait 24hrs before interacting again, and then follow max 5 the next day then increase by 10 each day. If you go straight in to 30 follows you'll likely get blocked again. By increasing the numbers daily over a week or two my accounts have been fine.

Even after your account is warmed up (slowly increasing interactions), the limits are still stricter than we used to 'get away with' - 20 an hour, max 200 a day. But I will be working at max 155 a day.

It is believed the trust score on all accounts has been reset, so we need to build them up again with small interactions slowly increasing. If you keep encouraging follow blocks you account will be flagged.

Can I ask how you delete cookies in Instapy? Is there some .py file I need to edit and line of code I need to add? Sorry, I'm pretty beginner-ish =/

@lezlea

This comment has been minimized.

Copy link

commented Jul 14, 2019

Hey Charles, no worries at all... thankfully it's a lot simpler than that...if you go in to your instapy folder and then the log folder you'll see a few interesting csv files containing the details of everyone you have followed, unfollowed etc. There is also a cookie file (ending in _cookie.pkl) which you can delete.

Overall update; I've been running my accounts on the low settings above for nearly a week now and all have been running well :)
I'm too scared to increase the numbers though!!

@hw711

This comment has been minimized.

Copy link

commented Jul 14, 2019

anyone gotten more serious block after deleting too many cookies? Clearing cookies basically create a new connection session but I have a couple accounts after clearing cookies like 10+ times, it's blocked on the account level, not session level. Meaning even if I clear cookies again or even move to another server, I get immediately blocked upon creating a new connection session, using instapy or trying to login to a regular browser manually.

@lezlea

This comment has been minimized.

Copy link

commented Jul 14, 2019

Did you delete 10 times in a row(-ish) or over a few months? You say you get immediately blocked, do you mean in terms of interactions (follows/likes) or something else?

Most of my accounts required a new IP and clearing the cookie. If I just cleared the cookie the block seemed to stay. Maybe that is different if you're just growing one account on your home IP, I'm not sure.

A few were blocked again after a few follows (and therefore needed more resting) and so after a few days or a week I would then clear the cookie again, new IP, and try - and after that it's been fine.

The maximum I've done is 3 cookie refreshes in a week on one account and it's been running fine since. I probably wouldn't do more than that as I like to wait (rest) between doing anything that may spark IG.

@hw711

This comment has been minimized.

Copy link

commented Jul 14, 2019

like 10+ refresh over a handful of days. I'm testing with my child accounts (I got like 10 so if a couple gets blocked for a few days, it's not a big deal) pretty agressively so every time I get blocked, I will clear the cookie and try again with little rest (few minutes to a day). The block is from doing just following but I tried to comment when there is follow block, it wouldn't go through either (can still like)

@lezlea

This comment has been minimized.

Copy link

commented Jul 14, 2019

Yeah for me I've had to reduce the number of server calls - not just actions. Even if I follow 100 a day, if I add in it trying to find valid user, liking, liking comments etc it was apparently 'too much'....I've reduced my server calls to around 4000 per day. I run in 10 hour blocks but they are reaching the server limit quickly!

@Knrd2

This comment has been minimized.

Copy link

commented Jul 14, 2019

Hey guys, im facing the same problem: This action was blocked. Please try again later. We restrict certain content and actions to protect our community. Tell us if you think we made a mistake.
Its weird, because im running two accounts one after another and just one account is getting this error message, the other one is running fine.. Ive tried to change a couple of settings but nothing really works.. any ideas?!

@Tr1pke

This comment has been minimized.

Copy link

commented Jul 14, 2019

Hey guys, im facing the same problem: This action was blocked. Please try again later. We restrict certain content and actions to protect our community. Tell us if you think we made a mistake.
Its weird, because im running two accounts one after another and just one account is getting this error message, the other one is running fine.. Ive tried to change a couple of settings but nothing really works.. any ideas?!

The only idea where I can think of is that your other account also will be banned soon.
Stop it and change the settings and stop headless browsers

@Tr1pke

This comment has been minimized.

Copy link

commented Jul 14, 2019

anyone gotten more serious block after deleting too many cookies? Clearing cookies basically create a new connection session but I have a couple accounts after clearing cookies like 10+ times, it's blocked on the account level, not session level. Meaning even if I clear cookies again or even move to another server, I get immediately blocked upon creating a new connection session, using instapy or trying to login to a regular browser manually.

If you clear your cookies all the time it is a bit suspicious. Try not to clear your cookies. You don’t clear cookies on your phone / home computer all the time right? It ain’t real

@dbmathis

This comment has been minimized.

Copy link

commented Jul 14, 2019

@Knrd2

Obviously one account is banned and the other is not. It’s been said over and over that nobody actually knows why accounts are being banned. Running a bot carries risks. Rules that you think you know can change overnight. If this doesn’t make sense to you then maybe a bot is not for you.

@dbmathis

This comment has been minimized.

Copy link

commented Jul 14, 2019

@lezlea

And you have no idea if things would have still gotten better had you not changed the server calls. You are guessing.

@cw7github

This comment has been minimized.

Copy link

commented Jul 15, 2019

Hey Charles, no worries at all... thankfully it's a lot simpler than that...if you go in to your instapy folder and then the log folder you'll see a few interesting csv files containing the details of everyone you have followed, unfollowed etc. There is also a cookie file (ending in _cookie.pkl) which you can delete.

@lezlea
Thanks so much, you're very helpful!

@hw711

This comment has been minimized.

Copy link

commented Jul 15, 2019

anyone gotten more serious block after deleting too many cookies? Clearing cookies basically create a new connection session but I have a couple accounts after clearing cookies like 10+ times, it's blocked on the account level, not session level. Meaning even if I clear cookies again or even move to another server, I get immediately blocked upon creating a new connection session, using instapy or trying to login to a regular browser manually.

If you clear your cookies all the time it is a bit suspicious. Try not to clear your cookies. You don’t clear cookies on your phone / home computer all the time right? It ain’t real

Sure, but I'm not clearing cookies for fun. lol. I clear cookies when it gets a hard block and clearing cookies is the only thing that gets around the block.

And some people do clear cookies all the time in general (outside of instagram). People use incognito mode of browsers (which clears cookies every session) because they don't like to be tracked. I think it's more rare people use IG on browsers than people who incognito mode.

@hw711

This comment has been minimized.

Copy link

commented Jul 15, 2019

@Knrd2

It’s been said over and over that nobody actually knows why accounts are being banned.

From my testings and getting many hundreds of blocks of various degree (that's why I have 10 child accounts testing very aggressively) especially last couple weeks trying to find patterns, there are at least 5 types of blocks.

  1. 6000/30day block implemented on 6/4. This is account level block, once you are blocked, you are blocked even on apps and can only be resolved when you last 30day #of follows drops below 5-6K.
  2. warning block. Even though you get a block message but you can ignore and retry immediately and follow will go through. Insteps verify_activity method does this retry so often time you won't even noticed this block unless you are watching it run constant.
  3. soft block. Immediate retry wouldn't work (this is when you get a last follow not verified warning msg from instapy), but if you wait a few minutes, you can follow again so this is probably a X actions/Y minute rate limit block.
  4. harder block that can last a long time (like days). This one is on the session level so clearing cookies will get around the block
  5. account+browser level hard block. This block whether you clear cookies or even change IP/server wouldn't help, you would get immediately block when creating a new browser session. But it's only for browser (instapy or normal), would still work on the phone app.

Some of the above are caused by exceeding whatever new rate limits they set, some are caused by patterns detected by IG's new AI. Latter definitely got implanted at the end of June. If you replace instapy's follow method (which does explicit wait and verify action) and simply just program your bot to sleep after loading the targets' home page then click follow button, you would get picked up by the AI and hit with type 3/4 block within 10 follows even with 4-6 minute breaks between follows. That's what happened to my modified bot last couple weeks (why I was clearing cookies) until I switched back to using instapy's follow method which you you can follow as fast as 1-2 minute break between follow then 1000 second sleep delay between following batches and it wouldn't trigger any hard block.

@IKDH

This comment has been minimized.

Copy link

commented Jul 15, 2019

@hw711 Can you give more details about the difference between your custom bot and the Instapy follow method ?

@Mehran

This comment has been minimized.

Copy link
Contributor

commented Jul 15, 2019

what about just Like And comment, is it Safe?

@Tr1pke

This comment has been minimized.

Copy link

commented Jul 15, 2019

its all safe within the limits

@hw711

This comment has been minimized.

Copy link

commented Jul 15, 2019

@hw711 Can you give more details about the difference between your custom bot and the Instapy follow method ?

I was just doing sleep random few seconds, follow button webelement.click(), and sleep random few seconds and nothing fancy. it was working perfectly fine until whatever bot detection put in at the end of June.

The main difference between my bot and instapy is not just the follow method part but the following work flow. Instapy validates users as it goes along which makes it hard to predict how many people you will end up following per period of time because say if you are following the commenters of someone and it craps out half way through for whatever reason and you rerun it again, instapy is going through the whole validating down the same commenter list again which is a waste of time because you already went through many of them already the first time. Or someone just happens to have a lot of commenters not fitting your criteria so you waste a bunch of time going through them and only end up following a small percentage.

My bot does the parsing of all the likers/commenters separately ahead of time and save in my database. Then my following work flow just makes a query from the database and only follows the ones I want in the order I want (say if I want to start with people who not just like/comment but like/comment most frequently). At first when I started getting hit by the end of June blocks, I thought it was the work flow difference because by validating along the way, instapy has a much bigger variance between time between each follow and it's very random but eventually I narrowed down my problem to just the button clicking part. I was ready to pull my hair out. lol.

@IKDH

This comment has been minimized.

Copy link

commented Jul 15, 2019

You said that with InstaPy follow method, you can now follow without haveing a block :

That's what happened to my modified bot last couple weeks (why I was clearing cookies) until I switched back to using instapy's follow method which you you can follow as fast as 1-2 minute break between follow then 1000 second sleep delay between following batches and it wouldn't trigger any hard block.

What is the difference between what your custom bot do and what InstaPy do ?

@hw711

This comment has been minimized.

Copy link

commented Jul 15, 2019

You said that with InstaPy follow method, you can now follow without haveing a block :

I said I can now follow without getting hard blocks within 20 follows. But I still get soft blocks and every once a while hard blocks. But now I can sometimes go up to following 200 in a row most of the time. I'm still doing more tweaks and testing to try to make it 100%.

There are different types of blocks as my previous long comment stated. The rate limits are easier to avoid, you just have to slow down. The automation detecting ones are harder to avoid unless you know what you do that's getting picked up. Like I said, I was waiting at least 5 minutes between each follow button web element click and still getting hard blocks easily.

@sebasware

This comment has been minimized.

Copy link

commented Aug 12, 2019

Hi everyone, did someone achieve with any solution ?, I've been researching and testing for 5 days but I can't get it to work, since I tried changing the server's IP, I also tried to change the user-agent and slightly increase the waiting times at different instapy points , but I still have the same message when i try to follow user:

Action Blocked: This action was blocked. Please try again later. We restrict certain content and actions to protect our community. Tell us if you think we made a mistake._

this is my instapy conf:

session = InstaPy(username="user", password="pass", headless_browser=True, nogui=True)
session.login()
session.follow_by_tags(arraywords, amount=10)

Someone has some viable way, I have been stuck for several days in search of some possible solution, but without luck :/,

thank you 🙏 🙏

@Knrd2

This comment has been minimized.

Copy link

commented Aug 12, 2019

I’m facing the same problem and can’t find any solution.. any suggestions?

@lezlea

This comment has been minimized.

Copy link

commented Aug 13, 2019

@hw711 - are you still doing 1-2 minute wait between each follow? I also have a custom InstaPy version I'm forever updating and changing - would love to chat with you about what's working and not working.

@sebasware - when you change your IPs, are they also different ISP? I read this may also be important and I'm testing with that. I would also recommend waiting at least 24 hours before trying again - for me this week I'm giving most of my accounts at least a 3 day pause (up to 7 days for accounts that keep receiving blocks)

@hw711

This comment has been minimized.

Copy link

commented Aug 13, 2019

yes 1-2 minute wait between follow works ok on 75% of my accounts. Some still gets blocked after a while and need to clear cookies but I have usually been able to go up to 200 follows/day with my working accounts. Some accounts just wouldn't work (like blocked with less than 20 follows) at all no matter what I try (I'm suspecting it's because of location of IG app on phone vs location of my VM because I'm constantly traveling but I can't be sure).

IG started blocking unfollows last week too and that's another mess that I haven't had time to try to adjust and get around.

@lezlea

This comment has been minimized.

Copy link

commented Aug 13, 2019

I've just started 25-45 second wait between follows (I was doing 45-90 seconds before) after recommendation from talking to Jarvee users able to follow around 200 a day. Attempting to get them 'done' in less time with longer waits between session.
Are you doing any likes? liking comments? etc. to split up the follows and make it 'appear' more human?

It must be my proxys affecting the action blocks then and why I can't get near those numbers on most of my accounts. I've tried so many different proxy companies but not having any luck so far.

@Knrd2

This comment has been minimized.

Copy link

commented Aug 13, 2019

@hw711 could you please post an example of your actions and the delay you’ve installed?! I would really appreciate it! Best

@hw711

This comment has been minimized.

Copy link

commented Aug 13, 2019

I wait 1-2 minute between follows. 6-10 follow batches with 10-12 minute wait between batches. I only do follows and unfollows (unfollows not working very well right now), no likes/comments in between. No proxy, can only run one instance per VM right now which is really expensive but haven't had a chance to look into proxies.

@lezlea

This comment has been minimized.

Copy link

commented Aug 13, 2019

I run 4 accounts per AWS Instance, running at different times (account specific) but overlapping, so I need proxies. Sounds like you are ok without proxies though! So with your technique you can do about 20 an hour, but theres not much wait between - just the 10-12 minutes? Or do you take a long pause at any time?

I'll see how I go with this shortened version and if not switch it up again!
Thanks :)

@hw711

This comment has been minimized.

Copy link

commented Aug 14, 2019

I also do a few minutes wait if I get a soft block. The setup is not ideal because running one instance of the bot(ie account) at 20 follows per hr is expensive considering my VM cost. If I can go faster, then I can schedule multiple instances to run. But I haven't had time to play with setting more now I'm traveling full time

@lezlea

This comment has been minimized.

Copy link

commented Aug 14, 2019

Ahhh I just realised one big thing I maybe doing different from other users. I'm picking a number to follow between 5-15, starting a session, following that number, then ending the session. Then next hour start a new session and do the same.

I've realised normally the first session works and the second if there is going to be problems, it will hit from the first follow. So I'm going to try the all in one session thing next!

I don't think my AWS instance is that expensive - maybe about £5-£10 a month depending how often you run. Also they do free limit tier for the first year which reduces costs. But the mobile proxies I'm trying are really upping the costs now :( I spent over £100 on data centre proxies last month just trying them all out, and now one mobile proxy is $50-$200! We'll see how they go.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
You can’t perform that action at this time.