""" Prevent commenting on and unfollowing your good friends (the images will
still be liked)...
"""
friends = ["list of my following"]
""" Prevent posts that contain...
"""
ignore_list = []
TARGET data
""" Set similar accounts and influencers from your niche to target...
"""
targets = ["list of 36 account"]
""" Skip all business accounts, except from list given...
"""
target_business_categories = ['category1', 'category2', 'category3']
COMMENT data
comments = ['Oh! Nice! @{}',
'Really cool :raised_hands::open_mouth:',
'What camera or phone did you use @{}?',
'Nice one @{} :beers:',
'Oh nice! What is your next trip :airplane: ?',
':raised_hands: Yes!',
'What an nice shot! :heart_eyes: Did you use an app to edit? :nail_care:',
'Ohh! :heart_eyes: :wink:',
':thumbsup: :thumbsup: cool!',
':raised_hands: hey !',
'Like it :clap: :clap: !',
':ok_hand: ! Where is it?',
u'😮',
u'🌱',
u'🍕',
u'🚀',
u'💬',
u'💅',
u'🦑',
u'🌻',
u'⚡️',
u'🌈',
u'🎉',
u'😻']
get a session!
while True:
session = InstaPy(username=insta_username,
password=insta_password,
headless_browser=False,
disable_image_load=True,
multi_logs=True)
let's go! :>
with smart_run(session):
# HEY HO LETS GO
# general settings
session.set_dont_include(friends)
session.set_dont_like(dont_likes)
session.set_ignore_if_contains(ignore_list)
session.set_ignore_users(ignore_users)
session.set_simulation(enabled=False)
session.set_relationship_bounds(enabled=True,
potency_ratio=None,
delimit_by_numbers=True,
max_followers=3500,
max_following=900,
min_followers=15,
min_following=25,
min_posts=8)
session.set_skip_users(skip_private=True,
skip_no_profile_pic=True,
skip_business=True)
session.set_user_interact(amount=3, randomize=True, percentage=99, media='Photo')
session.set_do_like(enabled=True, percentage=91)
session.set_do_comment(enabled=True, percentage=1)
session.set_comments(comments, media='Photo')
session.set_do_follow(enabled=True, percentage=8, times=1)
session.set_action_delays(enabled=True, like=20, randomize=True, random_range=(80, 200))
session.set_quota_supervisor(enabled=True, sleep_after=['likes'], sleepyhead=True, stochastic_flow=True, notify_me=False, peak_likes=(55, 500))
# activities
# FOLLOW+INTERACTION on TARGETED accounts
""" Select users form a list of a predefined targets...
"""
number = random.randint(4, 6)
random_targets = targets
if len(targets) <= number:
random_targets = targets
else:
random_targets = random.sample(targets, number)
""" Interact with the chosen targets...
"""
session.interact_user_followers(random_targets,
amount=random.randint(420, 660))
# UNFOLLOW activity
""" Unfollow nonfollowers after one day...
"""
session.unfollow_users(amount=random.randint(20, 40),
InstapyFollowed=(True, "nonfollowers"),
style="FIFO",
unfollow_after=24 * 60 * 60, sleep_delay=400)
""" Unfollow all users followed by InstaPy after one week to keep the
following-level clean...
"""
session.unfollow_users(amount=random.randint(20, 40),
InstapyFollowed=(True, "all"), style="FIFO",
unfollow_after=96 * 60 * 60, sleep_delay=400)
""" Joining Engagement Pods...
"""
session.join_pods('general', 'travel')
"""
Have fun while optimizing for your purposes, Nuzzo
"""
`
Hi,
Instagram block my account for likes and comments after few hours of running my script. I try to reduce likes distribution, it's not work.
One month ago, the script worked very well with >800 likes/day
Can you check my script please ? thanks !
` import random from instapy import InstaPy from instapy import smart_run
login credentials
insta_username = '...' insta_password = '...'
restriction data
dont_likes = ['#exactmatch', '[startswith', ']endswith', 'broadmatch', 'sex', 'nude', 'naked', 'pussy', 'dick', 'squirt', 'gay', 'homo', '#fit', '#fitfam', '#fittips', 'sex', 'nude', 'naked', 'pussy', '#abs', '#kids', '#children', '#child'] ignore_users = ['user1', 'user2', 'user3']
""" Prevent commenting on and unfollowing your good friends (the images will still be liked)... """ friends = ["list of my following"]
""" Prevent posts that contain... """ ignore_list = []
TARGET data
""" Set similar accounts and influencers from your niche to target... """ targets = ["list of 36 account"]
""" Skip all business accounts, except from list given... """ target_business_categories = ['category1', 'category2', 'category3']
COMMENT data
comments = ['Oh! Nice! @{}', 'Really cool :raised_hands::open_mouth:', 'What camera or phone did you use @{}?', 'Nice one @{} :beers:', 'Oh nice! What is your next trip :airplane: ?', ':raised_hands: Yes!', 'What an nice shot! :heart_eyes: Did you use an app to edit? :nail_care:', 'Ohh! :heart_eyes: :wink:', ':thumbsup: :thumbsup: cool!', ':raised_hands: hey !', 'Like it :clap: :clap: !', ':ok_hand: ! Where is it?', u'😮', u'🌱', u'🍕', u'🚀', u'💬', u'💅', u'🦑', u'🌻', u'⚡️', u'🌈', u'🎉', u'😻']
get a session!
while True: session = InstaPy(username=insta_username, password=insta_password, headless_browser=False, disable_image_load=True, multi_logs=True)
let's go! :>
""" Have fun while optimizing for your purposes, Nuzzo """ `