share_counter 0.3.1 → 0.3.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/share_counter/version.rb +1 -1
- data/lib/share_counter.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: 0f7a3224979ff4fa601cac348df52e0b7115f734
|
4
|
+
data.tar.gz: 52dfeeafccc73c34d487f9a2d1f3428b053d3104
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fa5a3d7337e166dc53a575c7faef5882e8c34668698996306f6ae4be690330d8571d87e79484ec18f94655f1af185103e157006e68616f48a02d5e4dda7d0b2b
|
7
|
+
data.tar.gz: d2e4a6a859deecbe045150c3149a20a23a415500ce08fc5d371c18a36544a9e128687945074c61598effc6c26f254f23ca1b8743999f5c995e18a877845268b9
|
data/lib/share_counter.rb
CHANGED
@@ -10,7 +10,7 @@ module ShareCounter
|
|
10
10
|
end
|
11
11
|
|
12
12
|
def self.facebook url
|
13
|
-
html = make_request "https://api.facebook.com/method/links.getStats
|
13
|
+
html = make_request "https://api.facebook.com/method/links.getStats", urls: url, format: "json"
|
14
14
|
return JSON.parse(html, symbolize_names: true)[0]
|
15
15
|
end
|
16
16
|
|