fobos 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/fobos/graph_api/o_auth.rb +0 -6
- data/lib/fobos/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 20741b72246c53e4964983a278f6fdb5388f847e
|
4
|
+
data.tar.gz: 12acd2fb3cf7a5dbfaf83278ad1cc23a5ca9df95
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6dc78c2e2f2e979b56713b36ce4a28fe17ff327bd0fa5f68361e7d507ba9245f576238b72b8c0f6e525f14b45d8f3dc48e9651c1e84a71bfd8596ca88b7ce267
|
7
|
+
data.tar.gz: 22e32021f21aa245a65000d8541b8c12100fe8293a510f942c3f98ffaea7635c37fab6d4daf2ed663cef12dc3c3bae1827fb48a646ec92c1c67723e3112bbcb6
|
data/README.md
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
Fobos is a easy to use, based on HTTParty gem for working with Facebook Graph and REST API.
|
4
4
|
|
5
5
|
|
6
|
-
It's Ruby based, so it compatible with any frameworks like Rails, Sinatra, etc.
|
6
|
+
It's Ruby based, so it compatible with any frameworks like Rails, Sinatra, etc. (<b>NOTE:</b> Please use latest version of Fobos. All versions use API v2.1, but latest version have no bugs and have more features.)
|
7
7
|
|
8
8
|
In current version it works only with basic Facebook Graph API features. In next versions REST API and new features for Graph API will be added.
|
9
9
|
|
@@ -47,12 +47,6 @@ module Fobos
|
|
47
47
|
(FB_URI.to_s + query.to_s).to_s
|
48
48
|
end
|
49
49
|
|
50
|
-
# Provide call of link what is result of get_user_access_code_url
|
51
|
-
def get_user_access_code(oauth_callback_url = @oauth_callback_url, options = {})
|
52
|
-
uri = get_user_access_code_url(oauth_callback_url, options)
|
53
|
-
self.class.get(uri)
|
54
|
-
end
|
55
|
-
|
56
50
|
# Generate link for getting user's <b>ACCESS TOKEN</b> by code given with get_user_access_code
|
57
51
|
def get_user_access_token_url(oauth_callback_url = @oauth_callback_url, code)
|
58
52
|
query = "/oauth/access_token?client_id=#{@app_id}&client_secret=#{@app_secret}&code=#{code}&redirect_uri=#{oauth_callback_url}"
|
data/lib/fobos/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fobos
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Max Goncharov
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-09-
|
11
|
+
date: 2014-09-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|