facebook_client 0.0.4 → 0.0.4.2
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/cookie_session.rb +6 -1
- data/lib/iframe_session.rb +5 -0
- metadata +3 -2
data/lib/cookie_session.rb
CHANGED
@@ -15,7 +15,12 @@ module FacebookClient
|
|
15
15
|
@fb=fb
|
16
16
|
@data=parse_fbs!(cookies["fbs_#{fb.app_id}"])
|
17
17
|
end
|
18
|
-
|
18
|
+
|
19
|
+
def graph
|
20
|
+
@graph ||= Graph.new(@fb, @data["access_token"], 0)
|
21
|
+
@graph
|
22
|
+
end
|
23
|
+
|
19
24
|
def parse_fbs!(fbs)
|
20
25
|
@data = fbs &&
|
21
26
|
check_sig_and_return_data(Rack::Utils.parse_query(fbs[1..-2]))
|
data/lib/iframe_session.rb
CHANGED
metadata
CHANGED
@@ -1,13 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: facebook_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 91
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
9
|
- 4
|
10
|
-
|
10
|
+
- 2
|
11
|
+
version: 0.0.4.2
|
11
12
|
platform: ruby
|
12
13
|
authors:
|
13
14
|
- David Crockett
|