facebook_api 0.1.0 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- data/README.rdoc +8 -0
- data/lib/facebook_api/session.rb +1 -1
- metadata +3 -3
data/README.rdoc
CHANGED
@@ -3,6 +3,10 @@
|
|
3
3
|
A simple, lightweight Ruby library for accessing the Facebook REST API. Currently used in Facebook Connect applications,
|
4
4
|
but could easily be extended for use in canvas applications.
|
5
5
|
|
6
|
+
== Install
|
7
|
+
|
8
|
+
gem install facebook_api
|
9
|
+
|
6
10
|
== Usage
|
7
11
|
|
8
12
|
require 'facebook_api'
|
@@ -57,6 +61,10 @@ With a couple of simple methods, you can make Facebook sessions available to you
|
|
57
61
|
end
|
58
62
|
end
|
59
63
|
|
64
|
+
== Acknowledgements
|
65
|
+
|
66
|
+
Thanks to Mike Mangino of Facebooker and Travis Reeder of MiniFb for inspiration.
|
67
|
+
|
60
68
|
== Copyright
|
61
69
|
|
62
70
|
Copyright (c) 2010 Tekin Suleyman. See LICENSE for details.
|
data/lib/facebook_api/session.rb
CHANGED
@@ -63,7 +63,7 @@ module FacebookApi
|
|
63
63
|
#
|
64
64
|
# Raises FacebookApi::Error if Facebook returns with an error.
|
65
65
|
def call_fql(query)
|
66
|
-
call('Fql.query', :query => query)
|
66
|
+
call('Fql.query', :query => query, :uid => uid, :session_key => session_key)
|
67
67
|
end
|
68
68
|
|
69
69
|
# Prepares passed in params ready for sending to Facebook with a REST call.
|
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 0
|
7
7
|
- 1
|
8
|
-
-
|
9
|
-
version: 0.1.
|
8
|
+
- 2
|
9
|
+
version: 0.1.2
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Tekin Suleyman
|
@@ -14,7 +14,7 @@ autorequire:
|
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
16
|
|
17
|
-
date: 2010-
|
17
|
+
date: 2010-06-13 00:00:00 +01:00
|
18
18
|
default_executable:
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|