Created
February 26, 2011 11:24
-
-
Save maxweber/845123 to your computer and use it in GitHub Desktop.
Slurping something from the Facebook Graph API into a Clojure data structure
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
user> (use 'clojure.contrib.json) | |
nil | |
user> (read-json (slurp "https://graph.facebook.com/btaylor")) | |
{:id "220439", | |
:name "Bret Taylor", | |
:first_name "Bret", | |
:last_name "Taylor", | |
:link "http://www.facebook.com/btaylor", | |
:gender "male", | |
:locale "en_US"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment