Skip to content

Instantly share code, notes, and snippets.

@maxweber
Created March 7, 2011 16:00
Show Gist options
  • Save maxweber/858684 to your computer and use it in GitHub Desktop.
Save maxweber/858684 to your computer and use it in GitHub Desktop.
A list of friends fetched by clj-facebook-graph
clj-facebook-graph.example> (with-facebook-auth-by-name "Max Weber" (client/get "https://graph.facebook.com/me/friends"))
{:status 200, :headers {"content-type" "text/javascript; charset=UTF-8",
"date" "Mon, 07 Mar 2011 15:56:41 GMT",
"cache-control" "private, no-cache, no-store, must-revalidate",
"expires" "Sat, 01 Jan 2000 00:00:00 GMT",
"etag" "\"bb3aff0d25be9397d666254583743b7a8bcfb60e\"",
"x-powered-by" "HPHP", "content-length" "4462",
"pragma" "no-cache", "connection" "close", "x-fb-server" "10.32.53.102"},
:body {:data [{:name "Friend 1", :id "id of friend one"} {:name "Friend 2", :id "id of friend two"} ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment