karadaisy · GitHub

Discussed yesterday in IRC, we should avoid backfeeding tweets from blocked users. I confirmed that the Twitter search API returns tweets from blocked users with no indication that they are blocked.

The blocks/ids endpoint gives up to 5000 ids at a time, and is rate-limited to 15 calls per user per 15 minutes. (the largest shared blocklist I know of has 10k accounts on it)

  • proactively filter out blocked users when searching for replies
  • on individual tweets, serve 410 tombstone so that mentions from blocked accounts will be deleted
  • periodically check for old responses from accounts that are now blocked, and re-propagate them.

Read the original on github.com ↗