ceceradio / twitter-block-chain

Chrome extension to block all users on a followers/following page.
MIT License
247 stars 50 forks source link

Breaks after certain number of blocks #84

Open SJfleming1 opened 3 years ago

SJfleming1 commented 3 years ago

If I try to block a large number of people, it starts displaying errors roughly after 3-400, and then when the block is finished, I need to erase all login data to fix it. I use the brave browser.

urko-vi commented 3 years ago

I've the same problem. I think is related with two factor auth.

Ackhuman commented 3 years ago

It has nothing to do with 2FA, I don't have it enabled on my account and I still have this problem. It's probably because of API rate limiting.

AlexAmoSfC commented 2 years ago

Hi. Twitter has throttling mecanisms for api requests and will invalidate your session cookies if you try to go beyond 500 effective blocks in just a matter of seconds. after that, lots errors could arise until you delete the cookies and log in again.

prosaied commented 2 years ago

Is it possible to add the 'sleep' feature in the plugin options section? therefore, we can specify the rate of the block.

madcaker commented 2 years ago

API rate limiting.

There needs to be a rate limiting feature for larger amounts of tasks to keep it under the API limit.

For now, just clear your cookies whenever this happens, and avoid blocking over a few hundred people at a time.