InstaPy / InstaPy/InstaPy

Commenting doesn't work

Open
#6,503 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
18.2k
Forks
3.9k
PR merge metrics
No merged PRs in 30d

Description

Hey, I am using this quickstart, but it doesn't comment anything. Can anybody help?

# imports
from instapy import InstaPy
from instapy import smart_run

# login credentials
insta_username = ''
insta_password = ''

comments = ['Nice shot! @{}',
'I love your profile! @{}',
'Your feed is an inspiration :thumbsup:',
'Just incredible :open_mouth:',
'What camera did you use @{}?',
'Love your posts @{}',
'Looks awesome @{}',
'Getting inspired by you @{}',
':raised_hands: Yes!',
'I can feel your passion @{} :muscle:']

# 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_dont_include(["friend1", "friend2", "friend3"])

# activity
session.like_by_tags(["natgeo"], amount=10)

# Joining Engagement Pods
session.set_do_comment(enabled=True, percentage=35)
session.set_comments(comments)
session.join_pods(topic='sports', engagement_mode='no_comments')

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.