ohld / igbot

🐙 Free scripts, bots and Python API wrapper. Get free followers with our auto like, auto follow and other scripts!
https://hikerapi.com/p/N2P6iqiM
Apache License 2.0
4.69k stars 1.47k forks source link

Can't comment on posts: code 200? #1213

Closed romzamir closed 4 years ago

romzamir commented 4 years ago

Please follow the guide below


Before submitting an issue, make sure you have:

Purpose of your issue?


The following sections requests more details for particular types of issues, you can remove any section (the contents between the triple ---) not applicable to your issue.


For a bug report, you must include the Python version used, code that will reproduce the error, and the error log/traceback.

Paste the output of python -V here: <Response [200]> but won't comment Code:

import os
import sys
import argparse
import time
from tqdm import tqdm

sys.path.append(os.path.join(sys.path[0], "../../"))
from instabot import Bot  # noqa: E402

parser = argparse.ArgumentParser(add_help=True)
parser.add_argument("-u", type=str, help="username")
parser.add_argument("-p", type=str, help="password")
parser.add_argument("-proxy", type=str, help="proxy")
parser.add_argument("-track", type=str, help="user_to_track")
args = parser.parse_args()
comments_file_name = "comments.txt"
bot = Bot(comments_file=comments_file_name)
bot.login(username=args.u, password=args.p, proxy=args.proxy)
if not args.track is None:
    track = args.track
else:
    #track = input("Enter a username to track >>\t")
    track = "pubity"

while True:
    medias = bot.get_user_medias(track, False)
    for media in tqdm(medias):
        if not bot.is_commented(media):
            text = bot.get_comment()
            bot.logger.info("Commented with text: %s" % text)
            time.sleep(3)
    time.sleep(1)

Error/Debug Log:

DEBUG - <Response [200]>

Describe your issue

I try to comment but when I run the code it gives the 200 code and doesn't post the comment.

duplicate-issues[bot] commented 4 years ago

Hey @romzamir,

We did a quick check and this issue looks very darn similar to

This could be a coincidence, but if any of these issues solves your problem then I did a good job :smile:

If not, the maintainers will get to this issue shortly.

Cheers, Your Friendly Neighborhood ProBot

bruvv commented 4 years ago

This probably related to a soft ban. Try again within a few hours/days.If it works please let us know.

crosslinking: https://github.com/instagrambot/instabot/issues/1219

bruvv commented 4 years ago

There is a new update, please run that and report back what the message is. Thanks

stale[bot] commented 4 years ago

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.