fb_graph 1.5.2 → 1.5.3
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/fb_graph.gemspec +1 -1
- data/lib/fb_graph/auth.rb +1 -1
- data/lib/fb_graph/user.rb +1 -3
- metadata +3 -3
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.5.
|
1
|
+
1.5.3
|
data/fb_graph.gemspec
CHANGED
data/lib/fb_graph/auth.rb
CHANGED
@@ -46,7 +46,7 @@ module FbGraph
|
|
46
46
|
data = SignedRequest.verify(self.client, signed_request)
|
47
47
|
if data[:oauth_token]
|
48
48
|
self.access_token = build_access_token(data)
|
49
|
-
self.user = User.new(data[:user_id],
|
49
|
+
self.user = User.new(data[:user_id], :access_token => self.access_token)
|
50
50
|
end
|
51
51
|
self.data = data
|
52
52
|
self
|
data/lib/fb_graph/user.rb
CHANGED
@@ -29,7 +29,7 @@ module FbGraph
|
|
29
29
|
include Connections::Videos
|
30
30
|
extend Searchable
|
31
31
|
|
32
|
-
attr_accessor :first_name, :last_name, :name, :link, :about, :birthday, :work, :education, :email, :website, :websites, :hometown, :location, :bio, :quotes, :gender, :interested_in, :meeting_for, :relationship_status, :religion, :political, :verified, :significant_other, :timezone, :updated_time, :sports, :favorite_teams, :favorite_athletes, :inspirational_people, :locale, :languages, :third_party_id, :address, :mobile_phone
|
32
|
+
attr_accessor :first_name, :last_name, :name, :link, :about, :birthday, :work, :education, :email, :website, :websites, :hometown, :location, :bio, :quotes, :gender, :interested_in, :meeting_for, :relationship_status, :religion, :political, :verified, :significant_other, :timezone, :updated_time, :sports, :favorite_teams, :favorite_athletes, :inspirational_people, :locale, :languages, :third_party_id, :address, :mobile_phone
|
33
33
|
|
34
34
|
def initialize(identifier, attributes = {})
|
35
35
|
super
|
@@ -116,8 +116,6 @@ module FbGraph
|
|
116
116
|
@address = Venue.new(attributes[:address])
|
117
117
|
end
|
118
118
|
@mobile_phone = attributes[:mobile_phone]
|
119
|
-
@age = attributes[:age]
|
120
|
-
@country = attributes[:country]
|
121
119
|
end
|
122
120
|
|
123
121
|
def self.me(access_token)
|
metadata
CHANGED