Skip to content

Instantly share code, notes, and snippets.

@rramsden
Created September 13, 2011 18:42
Show Gist options
  • Save rramsden/1214648 to your computer and use it in GitHub Desktop.
Save rramsden/1214648 to your computer and use it in GitHub Desktop.
ruby-1.8.7-p334 :003 > Typhoeus::Request.get("https://graph.facebook.com/me").body
=> ""
ruby-1.8.7-p334 :004 > Typhoeus::Request.get("https://graph.facebook.com/me", :disable_ssl_peer_verification => true).body
=> "{\"error\":{\"type\":\"OAuthException\",\"message\":\"An active access token must be used to query information about the current user.\"}}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment