Created
April 21, 2011 08:06
-
-
Save nov/933954 to your computer and use it in GitHub Desktop.
Rack::OAuth2::AcccessToken::Legacy Sample
This file contains 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
require 'rack/oauth2' | |
token = Rack::OAuth2::AcccessToken::Legacy.new( | |
:access_token => ACCESS_TOKEN | |
) | |
token.get('http://graph.facebook.com/me') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment