Skip to content

Instantly share code, notes, and snippets.

@aaronbrethorst
Created May 16, 2011 02:32
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aaronbrethorst/973824 to your computer and use it in GitHub Desktop.
Save aaronbrethorst/973824 to your computer and use it in GitHub Desktop.
Twitter Timeline to Cocoa plist
require 'rubygems'
require 'json'
require 'plist'
require 'open-uri'
File.open("/Users/aaron/Desktop/tweets.plist", 'w') {|f| JSON.parse(open("http://api.twitter.com/1/statuses/user_timeline.json?screen_name=cocoacontrols").read).to_plist}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment