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

短时间内屏蔽多次时提示用户隔天再操作,记录上一次屏蔽时间。 #68

Open
daymade opened this issue Sep 26, 2023 · 0 comments
Labels
help wanted Extra attention is needed Proposal 请求帮助, 欢迎 PR

Comments

@daymade
Copy link
Owner

daymade commented Sep 26, 2023

目前的一键拉黑方式没有限流,单个列表加上加急名单共有一百来个账号,点击一次"一键拉黑"按钮会造成瞬间发起一百多个请求。

这种方式目前是安全的,但有潜在风险,尤其是当用户短时间内多次点击多个列表批量拉黑时,从实际经验来看,大概超过500个后会被Twitter强制登出账
号,重新登录后可继续正常使用Twitter。

推特限流文档: https://developer.twitter.com/en/docs/twitter-api/v1/developer-utilities/rate-limit-status/api-reference/get-application-rate_limit_status

对单个用户来说,推特的拉黑接口的限流窗口是 1 天, 期间只允许 400 次操作。

twitter 并没有在文档中写明 block 的限制,但是在 twitter community 中有人提到了这个问题,twitter 官方回复是:

Block rates are not listed on this page, but you might expect that it might be similar to the follow limit.

https://help.twitter.com/en/rules-and-policies/twitter-limits 页面写明了 Following (daily): The technical follow limit is 400 per day.

@daymade daymade converted this from a draft issue Sep 26, 2023
@daymade daymade pinned this issue Sep 26, 2023
@daymade daymade added help wanted Extra attention is needed Proposal 请求帮助, 欢迎 PR labels Sep 26, 2023
@daymade daymade unpinned this issue Nov 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed Proposal 请求帮助, 欢迎 PR
Projects
Development

No branches or pull requests

1 participant