facebook_oauth 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/facebook_oauth/client.rb +2 -2
- metadata +1 -1
@@ -23,7 +23,7 @@ module FacebookOAuth
|
|
23
23
|
options[:code],
|
24
24
|
:redirect_uri => options[:callback] || @callback
|
25
25
|
)
|
26
|
-
@token
|
26
|
+
@token = @access_token.token
|
27
27
|
@access_token
|
28
28
|
end
|
29
29
|
|
@@ -37,7 +37,7 @@ module FacebookOAuth
|
|
37
37
|
end
|
38
38
|
|
39
39
|
def access_token
|
40
|
-
|
40
|
+
OAuth2::AccessToken.new(consumer, @token)
|
41
41
|
end
|
42
42
|
|
43
43
|
def _get(url)
|