6 ms·
This made me curious and I wondered how it might work... The simplest approach would be to start from user id 1 and increment up blocking each one but then you
by caseysoftware 5y ago
This made me curious and I wondered how it might work...
The simplest approach would be to start from user id 1 and increment up blocking each one but then you'd block millions of inactive, dead, or suspended accounts which would probably get you suspended.
A better approach may be to choose a "recent" tweet id, block the author, count up from there, checking if each author is blocked and blocking if they're not. The best part is that you don't even need to know the author when you make a request. For example, tweet id 1508540042817376256 is Elon's and it resolves to him whether you use https://twitter.com/elonmusk/status/1508540042817376256 https://twitter.com/elonmusk/status/1508540042817376256 or https://twitter.com/Microsoft/status/1508540042817376256 https://twitter.com/Microsoft/status/1508540042817376256
This is no longer blocking "every single Twitter account" but blocking "every single active Twitter account" but may still be able to trigger whatever limits.