Skip to content

Instantly share code, notes, and snippets.

@jezhumble
Last active August 29, 2015 14:07
Show Gist options
  • Save jezhumble/8add04faf17ae1917873 to your computer and use it in GitHub Desktop.
Save jezhumble/8add04faf17ae1917873 to your computer and use it in GitHub Desktop.
A simple 3-step plan to prevent abuse on Twitter
  • Bayesian filter to detect potential abusers, filtering on words, length of time the user has been active, number of tweets a user has sent, who the user has tweeted to, # of spam reports against the user
  • Anyone who is tweeted to on a regular basis by potential abusers gets flagged (not publicly visible of course) as being a target
  • Anyone who tweets at someone who is a target and triggers the Bayesian filter gets auto-suspended and has to submit a form explaining why they should be unblocked
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment