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

[BUG] commenting on posts suspends the account #2097

Open
mokhtaridoust opened this issue Dec 24, 2024 · 2 comments
Open

[BUG] commenting on posts suspends the account #2097

mokhtaridoust opened this issue Dec 24, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@mokhtaridoust
Copy link

mokhtaridoust commented Dec 24, 2024

after using cl.media_comment for 7 times in one hour with long intervals, different texts different media ids, instagram detects that this behaviour is against terms and conditions (the activity doesn't follow Community Standards on spam). This has been tested with two different accounts, in between other requests or in a row order request. The consequence was accounts getting suspended for days.

To reproduce:
def random_comment_generator:
comment = "every time one different comment with the length between 6 to 20 words plus emojis"
return comment

for media in input_medias:
comment = random_comment_generator()
cl.media_comment(media.id, comment)
time.sleep(600)

after the loop comments more than 7 times, then the suspended page on your mobile app will appear to perform "appeal", and the notification mail
image
be aware that if it is for the first time, you might be able to recover your account quickly, but for the second time depends on instagram queue line, and less possible chance to return back your account. I was about to lose my main account, so use a temporary account to test this.

It is expected to be able to comment on posts without this suspend, the instagram limit is absolutely more than 7 comments in one hour.

to add more details, this has been verified that for every call of media_commet, a new "user_breadcrumb" and "idempotence_token" is generated.
image

  • OS: Win
  • Python version 3.12
  • instagrapi version 2.1.3
@mokhtaridoust mokhtaridoust added the bug Something isn't working label Dec 24, 2024
@sunmasters
Copy link

It is spam detection

@mokhtaridoust
Copy link
Author

mokhtaridoust commented Dec 25, 2024

thanks for the feedback, to add more info, I received this massage that may help others to understand spam rules.
image
https://transparency.meta.com/policies/community-standards/spam/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants