messenger-ruby 1.1.1 → 1.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/messenger/client.rb +1 -1
- data/lib/messenger/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9cd623671ebc2e16b2d3bfd9088106154702fe25
|
4
|
+
data.tar.gz: f51e2626289309e432137063c93a2eba4bef8d8d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8638443c8407763c85ce04d21fddaa8ddda736e3c43409bc6b0e0a4b9d73933dd8ff23ddb9369c5243382eb02c9332b5dc796edc1bc505cf2e0a765e7a3ac8cc
|
7
|
+
data.tar.gz: 5d5fb7d75c9dcaeba2a9a1d0ab9d7438ee4b852c2feaa687b5a5599f5af5a77e7df11b87057200fcd752054abb4a2f79166693d911db9b91fe55db29837421fd
|
data/lib/messenger/client.rb
CHANGED
@@ -2,7 +2,7 @@ module Messenger
|
|
2
2
|
class Client
|
3
3
|
def self.get_user_profile(user_id)
|
4
4
|
JSON.parse(RestClient.get(
|
5
|
-
"https://graph.facebook.com/v2.6/#{
|
5
|
+
"https://graph.facebook.com/v2.6/#{user_id}?fields=first_name,last_name,profile_pic \
|
6
6
|
&access_token=#{Messenger.config.page_access_token}",
|
7
7
|
))
|
8
8
|
end
|
data/lib/messenger/version.rb
CHANGED