Skip to content
This repository has been archived by the owner on Feb 25, 2024. It is now read-only.

follow_users action should stopped when we got 400 error #952

Closed
tayfunyasar opened this issue Jun 18, 2019 · 7 comments
Closed

follow_users action should stopped when we got 400 error #952

tayfunyasar opened this issue Jun 18, 2019 · 7 comments
Labels

Comments

@tayfunyasar
Copy link

Going to follow 122949 users.

After filtering followed, unfollowed and skipped.txt, 122754 user_ids left to follow.
Processed users: 0%| | 0/122754 [00:00<?, ?it/s]
===> Going to follow user_id: 431543753.
2019-06-18 17:21:09,624 - ERROR - Request returns 400 error!
2019-06-18 17:21:09,624 - ERROR - ATTENTION!: feedback_requiredThis action was blocked. Please try again later. We restrict certain content and actions to protect our community. Tell us if you think we made a mistake.

===> FOLLOWED <==== user_id: 431543753.
Adding '431543753' to followed.txt.

bot.following is empty, will download.
Processed users: 0%| | 1/122754 [00:04<149:07:40, 4.37s/it]
===> Going to follow user_id: 353906913.█████▉| 3949/3950 [00:03<00:00, 1259.30it/s]
2019-06-18 17:21:40,957 - ERROR - Request returns 400 error!
2019-06-18 17:21:40,957 - ERROR - ATTENTION!: feedback_requiredThis action was blocked. Please try again later. We restrict certain content and actions to protect our community. Tell us if you think we made a mistake.

===> FOLLOWED <==== user_id: 353906913.
Adding '353906913' to followed.txt.
Processed users: 0%| | 2/122754 [00:31<385:32:45, 11.31s/it]
===> Going to follow user_id: 2225408198.
2019-06-18 17:21:57,137 - ERROR - Request returns 400 error!
2019-06-18 17:21:57,137 - ERROR - ATTENTION!: feedback_requiredThis action was blocked. Please try again later. We restrict certain content and actions to protect our community. Tell us if you think we made a mistake.

I'm not interested with why is my bot cant follow anyone. it should be stopping when its not succeed. It marks my following list as followed. Its an error.

@ohld
Copy link
Owner

ohld commented Jun 18, 2019

Can someone fix this, please? This is important.

@lidoramrani
Copy link

Instagram sometimes blocks users from certain actions for some period of time.
Try to wait a little bit and use more sleep time between each like/comment/follow.

@EightShift
Copy link
Contributor

@tayfunyasar
Instagram denies you when you try to follow.
You overdo it with the number of followings.
Wait a week...

@matgracia
Copy link

Same here. The feedback required error on any user follow but I can follow normally with the app (smartphone) or web (PC).
I'll try to wait some days but I think this is nor the problem. In fact I've copied the cookie as I have in my chromium exactly, because could be any login issue but not, login works fine with the cookie.txt created by bot and with mine itself.
follow_delay=60 and run follow_followers every 120 minutos to follow 10 accounts.

What I'm doing wrong?
Thank you.

@ElliotPadfield
Copy link

To clarify the issue here, the new instagram algorithm has stopped looking for 'bot-like' activity but is now limiting the number of engagements. It is believed that there is both a daily and monthly limit on engagement. This limit is debated as it is based on the age and maturity of an account. In the short term, there is nothing that we can do. If you get this error, you need to wait for the limit to reset (1 day - 1 week) and then slowly automate again. The algorithm used to mean that you started slowly and sped up the automation but the new algorithm is purely based on the number of engagements not speed. Hopefully Instagram will change the algorithm soon but until then the best automation technique to use is Masslooking (there is an example script in the repo) because it is not audited and you can't be temporarily banned for it. The API does seem to get a bit upset if you have had the same connection for 24 hours which I'm going to look into.

@ElliotPadfield
Copy link

@ohld
This isn't actually a problem with this project but an issue with Instagram automation as a whole. All that we could do is stop the script from running when it hits this error rather than skipping over and continuing indefinitely. I think that is probably an enhancement rather than a bug as the current codebase isn't designed for this new error. I think this issue can be closed and a new one opened for creating an exception in the case of this error. I'll try and get that implemented soon.

@ldrolez
Copy link

ldrolez commented Aug 19, 2019

Yes at least the user_id should not be added to followed.txt

===> Going to follow user_id`: 81000000.

USER_NAME: xxxx, FOLLOWER: 50, FOLLOWING: 34
2019-08-19 10:16:43,003 - ERROR - Request returns 400 error!
2019-08-19 10:16:43,004 - ERROR - ATTENTION!: feedback_requiredThis action was blocked. Please try again later. We restrict certain content and actions to protect our community. Tell us if you think we made a mistake.

===> FOLLOWED <==== user_id: 81000000.
Adding '817000000' to followed.txt.
`

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests