InstaPy is liking and following correctly but I am not able to get it to comment no matter what config file settings I use. If I intervene with the open browser session during a pause I am able to enter a comment manually in the browser session so I do not think I am being blocked.
I have tried really simple config files as a test and no luck it either does not comment of the console says "Not commenting! Failure" after it likes an image.
Can someone post the most simple working config file that does comment for me to use as an example? Yes I have tried the quick start templates with no luck. I have also tried good_commenting_strategy_and_new_qs_system.py from the quick start templates with the correct user name and password but it just goes to my home page and then starts cleaning up the session and shuts down.
In general do I have to be engaged in liking to get comments to work? (I have tried that as well)
Any help or simple config files for testing would be appreciated. Thanks!
Anything change TheBoneDog? I have it workin, what platform are you on? Did you update pip, update instapy, make sure your quickstart.py is right?
Anything change TheBoneDog? I have it workin, what platform are you on? Did you update pip, update instapy, make sure your quickstart.py is right?
i have this same problem. my bot is not commenting how do i fix this? im using the lastest instapy, in a mac, pythin 3.5
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
If this problem still occurs, please open a new issue
I have the same issue
I started using instapy and its liking multiple images and all just fine for me but am getting this issue as well.
My config is:
insta_username = XXXXXX
insta_password = YYYYYYYY
comments = [
u'What an amazing shot @{}! :heart_eyes: What do '
u'you think of my recent shot?',
u'What an amazing shot! :heart_eyes: I think '
u'you might also like mine. :wink:',
u'Wonderful!! :heart_eyes: Would be awesome if '
u'you would checkout my photos as well!',
u'Wonderful!! :heart_eyes: I would be honored '
u'if you would checkout my images and tell me '
u'what you think. :wink:',
u'This is awesome!! :heart_eyes: Any feedback '
u'for my photos? :wink:',
u'This is awesome !! :heart_eyes: maybe you will '
u'like my photos, too? :wink:',
u'I really like the way you captured this. I '
u'bet you like my photos, too :wink:',
u'I really like the way you captured this. If '
u'you have time, check out my photos, too. I '
u'bet you will like them. :wink:',
u'Great capture!! :smiley: Any feedback for my '
u'recent shot? :wink:',
u'Great capture!! :smiley: :thumbsup: What do '
u'you think of my recent photo?',
u'Great capture!! :smiley: :thumbsup: What camera and lense did you use?',
u'Great capture!! :smiley: :thumbsup: i think you will also like my pictures :wink:',
]
dont_likes = ['sex', 'nude', 'naked', 'beef', 'pork', 'seafood',
'egg', 'chicken', 'cheese', 'sausage', 'lobster',
'fisch', 'schwein', 'lamm', 'rind', 'kuh', 'meeresfr眉chte',
'schaf', 'ziege', 'hummer', 'yoghurt', 'joghurt', 'dairy',
'meal', 'food', 'eat', 'pancake', 'cake', 'dessert',
'protein', 'essen', 'mahl', 'breakfast', 'lunch',
'dinner', 'turkey', 'truthahn', 'plate', 'bacon',
'sushi', 'burger', 'salmon', 'shrimp', 'steak',
'schnitzel', 'goat', 'oxtail', 'mayo', 'fur', 'leather',
'cream', 'hunt', 'gun', 'shoot', 'slaughter', 'pussy',
'breakfast', 'dinner', 'lunch']
hashtags = ['travelcommunity', 'passionpassport',
'backpackerlife', 'travelguide', 'travelbloggers',
'travelblog', 'letsgoeverywhere',
'travelislife', 'stayandwander', 'beautifuldestinations',
'moodygrams', 'travelingram', 'hiking', 'nature',
'ourplanetdaily', 'travelyoga', 'travelgram', 'sunsetporn',
'igtravel', 'instapassport', 'travelling', 'instatraveling',
'mytravelgram', 'skyporn', 'traveler', 'sunrise',
'sunsetlovers', 'travelblog', 'nsfw',
'sunset_pics', 'visiting', 'ilovetravel',
'photographyoftheday', 'sunsetphotography',
'explorenature', 'landscapeporn', 'exploring_shotz',
'landscapehunter', 'colors_of_day',
'earthfocus', 'ig_shotz', 'ig_nature', 'discoverearth',
'thegreatoutdoors']
random.shuffle(hashtags)
my_hashtags = hashtags[:10]
# get an InstaPy session!
# set headless_browser=True to run InstaPy in the background
session = InstaPy(username=insta_username,
password=insta_password,
headless_browser=False)
with smart_run(session):
""" Activity flow """
# general settings
session.set_do_like(enabled=True, percentage=100)
session.set_do_comment(enabled=True, percentage=25)
session.set_comments(comments)
session.set_user_interact(amount=6, randomize=False, percentage=100)
session.set_skip_users(skip_private=True,
private_percentage=100,
skip_no_profile_pic=True,
no_profile_pic_percentage=100,
skip_business=False,
skip_non_business=False,
business_percentage=10,
skip_business_categories=[],
dont_skip_business_categories=[])
session.set_delimit_liking(enabled=True, max_likes=350, min_likes=None)
session.set_delimit_commenting(enabled=True, max_comments=32, min_comments=None)
session.set_relationship_bounds(enabled=True,
potency_ratio=-1.25,
delimit_by_numbers=True,
max_followers=5000,
max_following=None,
min_followers=10,
min_following=20,
min_posts=1,
max_posts=3000)
session.set_quota_supervisor(enabled=True, sleep_after=["likes", "comments_d", "follows", "unfollows", "server_calls_h"], sleepyhead=True, stochastic_flow=True, notify_me=True,
peak_likes_hourly=57,
peak_likes_daily=585,
peak_comments_hourly=21,
peak_comments_daily=182,
peak_follows_hourly=48,
peak_follows_daily=None,
peak_unfollows_hourly=35,
peak_unfollows_daily=402,
peak_server_calls_hourly=None,
peak_server_calls_daily=4700)
# activity
session.set_dont_like(dont_likes)
session.like_by_tags(my_hashtags, amount=50, interact=True)
""" Joining Engagement Pods...
"""
session.join_pods(topic='travel', engagement_mode='no_comments')
I have the same probleme,
is anybody here who solved the problem?
always getting this
--> commenting=True liking=True
--> Not commenting! Failure
It gives me the same error
Same here as well. Any update so far?
same for me, any ideas?
Still not able to comment or follow even
The problem for me was because of the command orders in quickstart.py. I've changed it like below and working well so far.
Let me know if it works for you too.
""" Quickstart script for InstaPy usage """
# imports
from instapy import InstaPy
from instapy import smart_run
from instapy import set_workspace
import random
# set workspace folder at desired location (default is at your home folder)
set_workspace(path=None)
session = InstaPy(username="*****",
password="*****",
headless_browser=False)
comments = ['comment1', 'comment2'']
with smart_run(session):
hashtags = ['tag1', 'tag2']
random.shuffle(hashtags)
# session.set_action_delays(enabled=True,
# like=30.31,
# comment=35.12,
# follow=45.85,
# unfollow=56.26,
# randomize=True,
# random_range_from=50,
# random_range_to=150)
session.set_do_like(enabled=True, percentage=60)
session.set_delimit_liking(enabled=True, max_likes=25, min_likes=0)
session.set_do_comment(enabled=True, percentage=23)
session.set_comments(comments)
session.set_do_follow(enabled=True, percentage=40, times=1)
session.set_dont_unfollow_active_users(enabled=True, posts=1)
session.unfollow_users(amount=10,
nonFollowers=True,
style="FIFO",
unfollow_after=12 * 60 * 60, sleep_delay=501)
session.set_quota_supervisor(enabled=True,
sleep_after=["likes", "comments", "follows", "unfollows", "server_calls"],
sleepyhead=True,
stochastic_flow=True,
notify_me=True,
peak_likes_hourly=45,
peak_likes_daily=560,
peak_comments_hourly=30,
peak_comments_daily=300,
peak_follows_hourly=30,
peak_follows_daily=500,
peak_unfollows_hourly=20,
peak_unfollows_daily=250,
peak_server_calls_hourly=200,
peak_server_calls_daily=2500)
session.set_relationship_bounds(enabled=True,
potency_ratio=None,
delimit_by_numbers=True,
max_followers=5000,
max_following=5000,
min_followers=40,
min_following=40)
session.follow_user_followers(['user1' ,'user2'], amount=10, randomize=True, sleep_delay=60)
session.like_by_tags(hashtags, amount=25, interact=False, skip_top_posts=True)
Oh okay! session.like_by_tags needs to be in the end. This worked for me, thanks!! @eemektas
thank you @eemektas. You are genius. I was looking for the solution since long. You solved the problem