Skip to content

Instantly share code, notes, and snippets.

@snay2
Last active August 29, 2015 14:06
Show Gist options
  • Save snay2/5e96a3cd12e006e5e70b to your computer and use it in GitHub Desktop.
Save snay2/5e96a3cd12e006e5e70b to your computer and use it in GitHub Desktop.
Alternative Twitter client to circumvent filtering

Alternative Twitter client to circumvent filtering

If this (http://gigaom.com/2014/09/04/twitter-cfo-says-a-facebook-style-filtered-feed-is-coming-whether-you-like-it-or-not/) comes true, it should still be possible to get an unfiltered tweet stream as long as Twitter doesn’t also tamper with public profiles when the viewer is not logged in. If those still display all of a person’s raw tweets, we can still get the current idea of a timeline.

Basic process

  1. Keep a list of all the people you follow
  2. Pull down each person’s public profile (cache them, if desired)
  3. Filter out tweets starting with an @-mention of anyone you don’t follow
  4. Stitch them all together in chronological order

Limitations

  • Might require scraping HTML if the API for individual profiles is getting filtered (high maintenance)
  • Taking any action on a tweet would require being logged in and interacting with the API
  • Can’t do notifications (efficiently)
  • Threading conversations would be tricky
  • Protected accounts may not work at all this way
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment