facebook_client 0.0.4.2 → 0.0.5.0
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/legacy_session.rb +5 -0
- metadata +3 -3
data/lib/legacy_session.rb
CHANGED
@@ -21,6 +21,11 @@ module FacebookClient
|
|
21
21
|
def uid
|
22
22
|
@params['user']
|
23
23
|
end
|
24
|
+
|
25
|
+
def graph
|
26
|
+
@graph ||= Graph.new(@fb, @params["session_key"], 0)
|
27
|
+
@graph
|
28
|
+
end
|
24
29
|
|
25
30
|
def verfiy_params_and_return(params)
|
26
31
|
if params['fb_sig'].nil? or !params['fb_sig'].is_a?(String)
|