facegroups 0.2.0 → 0.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/facegroups/runner.rb +45 -0
- data/lib/facegroups/version.rb +1 -1
- data/spec/fixtures/cassettes/facebook_api.yml +24 -24
- metadata +2 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 04725e907049b78e390aa9ee5ad677ff7e8dcdf7
|
|
4
|
+
data.tar.gz: a37df0f984268609830f574f54da1a9f5553e13d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7c2ae8344d0d913f4af02f68570ae1a607cd0ebe20fedebeac32226843f31872f0d65dd3eb68d512868d7aff9787871605c221a2fa091b03fb5ade39328342db
|
|
7
|
+
data.tar.gz: 002d87d63de1e903d6dada806420119791e05527c70ac9d87a5f29f65237e7657caf38d09ce3fe58f5aebf591b51651e0e9237a395e84f0ba4f3bd74c4dc6de1
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module FaceGroups
|
|
4
|
+
# Executable code for file(s) in bin/ folder
|
|
5
|
+
class Runner
|
|
6
|
+
def self.run!(args)
|
|
7
|
+
group_id = args[0] || ENV['FB_GROUP_ID']
|
|
8
|
+
unless group_id
|
|
9
|
+
puts 'USAGE: facegroups [group_id]'
|
|
10
|
+
exit(1)
|
|
11
|
+
end
|
|
12
|
+
|
|
13
|
+
group = FaceGroups::Group.find(id: group_id)
|
|
14
|
+
|
|
15
|
+
output_info(group)
|
|
16
|
+
end
|
|
17
|
+
|
|
18
|
+
def self.output_info(group)
|
|
19
|
+
name = group.name
|
|
20
|
+
separator = Array.new(group.name.length) { '-' }.join
|
|
21
|
+
group_info = group.feed.postings.first(3).map.with_index do |post, index|
|
|
22
|
+
posting_info(post, index)
|
|
23
|
+
end.join
|
|
24
|
+
|
|
25
|
+
[name, separator, group_info].join("\n")
|
|
26
|
+
end
|
|
27
|
+
|
|
28
|
+
def self.posting_info(post, index)
|
|
29
|
+
[
|
|
30
|
+
"#{index + 1}",
|
|
31
|
+
message_output(post.message),
|
|
32
|
+
'Attached: ' + attachment_output(post.attachment),
|
|
33
|
+
"\n\n"
|
|
34
|
+
].join
|
|
35
|
+
end
|
|
36
|
+
|
|
37
|
+
def self.message_output(message)
|
|
38
|
+
message ? message : '(blank)'
|
|
39
|
+
end
|
|
40
|
+
|
|
41
|
+
def self.attachment_output(attachment)
|
|
42
|
+
attachment ? attachment.url.to_s : '(none)'
|
|
43
|
+
end
|
|
44
|
+
end
|
|
45
|
+
end
|
data/lib/facegroups/version.rb
CHANGED
|
@@ -31,13 +31,13 @@ http_interactions:
|
|
|
31
31
|
Content-Type:
|
|
32
32
|
- application/json; charset=UTF-8
|
|
33
33
|
X-Fb-Trace-Id:
|
|
34
|
-
-
|
|
34
|
+
- GggmQNd9Ryq
|
|
35
35
|
X-Fb-Rev:
|
|
36
36
|
- '2657702'
|
|
37
37
|
X-Fb-Debug:
|
|
38
|
-
-
|
|
38
|
+
- NRyFUekFi6xy5Y2/aYwZpfmOj1o/FneWpB3f8vFtSyGSaHrIVgvgULIsXLEYm99m2y9PhrKhDhTjLvTJ29mVLw==
|
|
39
39
|
Date:
|
|
40
|
-
- Wed, 02 Nov 2016 05:
|
|
40
|
+
- Wed, 02 Nov 2016 05:07:22 GMT
|
|
41
41
|
Connection:
|
|
42
42
|
- close
|
|
43
43
|
Content-Length:
|
|
@@ -46,7 +46,7 @@ http_interactions:
|
|
|
46
46
|
encoding: UTF-8
|
|
47
47
|
string: '{"access_token":"<ACCESS_TOKEN>","token_type":"bearer"}'
|
|
48
48
|
http_version:
|
|
49
|
-
recorded_at: Wed, 02 Nov 2016 05:
|
|
49
|
+
recorded_at: Wed, 02 Nov 2016 05:07:21 GMT
|
|
50
50
|
- request:
|
|
51
51
|
method: get
|
|
52
52
|
uri: https://graph.facebook.com/150352985174571?access_token=<CLIENT_ID>%7C0WiNEz4rbcf5Ki0Ge4vR7m4Wlts&fields=id,name,feed%7Bname,message,updated_time,created_time,attachments%7Btitle,description,url,media%7D%7D
|
|
@@ -68,7 +68,7 @@ http_interactions:
|
|
|
68
68
|
Access-Control-Allow-Origin:
|
|
69
69
|
- "*"
|
|
70
70
|
Etag:
|
|
71
|
-
- '"
|
|
71
|
+
- '"5e198c115d2b08deb673e2609d0ba04745578f94"'
|
|
72
72
|
Pragma:
|
|
73
73
|
- no-cache
|
|
74
74
|
Cache-Control:
|
|
@@ -80,15 +80,15 @@ http_interactions:
|
|
|
80
80
|
Content-Type:
|
|
81
81
|
- text/javascript; charset=UTF-8
|
|
82
82
|
X-Fb-Trace-Id:
|
|
83
|
-
-
|
|
83
|
+
- GBItdk/tABx
|
|
84
84
|
X-Fb-Rev:
|
|
85
85
|
- '2657702'
|
|
86
86
|
Vary:
|
|
87
87
|
- Accept-Encoding
|
|
88
88
|
X-Fb-Debug:
|
|
89
|
-
-
|
|
89
|
+
- 62bwQNbMua8/VsTScByUN5uw8DWJmxKvYy4UYf4XuLcK+XhiWV91WNqFzn57Ts0BwZRvkVNvYPqE/Ab/DyB99A==
|
|
90
90
|
Date:
|
|
91
|
-
- Wed, 02 Nov 2016 05:
|
|
91
|
+
- Wed, 02 Nov 2016 05:07:23 GMT
|
|
92
92
|
Connection:
|
|
93
93
|
- close
|
|
94
94
|
body:
|
|
@@ -104,7 +104,7 @@ http_interactions:
|
|
|
104
104
|
facto standard when it comes to (un)serialising and exchanging data in web
|
|
105
105
|
and mobile programming. But how well do you really know JSON? We''ll read
|
|
106
106
|
the specifications and write test cases together. We''ll test common JSON
|
|
107
|
-
libraries against our test cases. I''ll show that JSON is not the...","url":"http:\/\/www.facebook.com\/l.php?u=http\u00253A\u00252F\u00252Fseriot.ch\u00252Fparsing_json.html&h=
|
|
107
|
+
libraries against our test cases. I''ll show that JSON is not the...","url":"http:\/\/www.facebook.com\/l.php?u=http\u00253A\u00252F\u00252Fseriot.ch\u00252Fparsing_json.html&h=UAQGQRX4b&s=1&enc=AZPKGnoDkgEWd-V4gnZ12jSPx6qn9GwBc7fNMWXaO6MJkDRidifqdykfNzRcn1Iu_VSndfKRP0YJrzlaxVh3JZPz","media":{"image":{"height":720,"src":"https:\/\/external.xx.fbcdn.net\/safe_image.php?d=AQBafep0D8nqgNS7&w=720&h=720&url=http\u00253A\u00252F\u00252Fseriot.ch\u00252Fjson\u00252Fpruned_results.png&cfs=1","width":720}}}]}},{"name":"GitHub
|
|
108
108
|
Dumps REST Calls for Facebook''s GraphQL - The New Stack","message":"Github''s
|
|
109
109
|
adoption of GraphQL for APIs, over RESTful services, might be the tipping
|
|
110
110
|
point that makes GraphQL ubiquitous. From what little exposure I have to it
|
|
@@ -118,42 +118,42 @@ http_interactions:
|
|
|
118
118
|
to streamline the remote querying services of its site, GitHub is moving its
|
|
119
119
|
API (application programming interface) from REST calls to Facebook\u2019s
|
|
120
120
|
GraphQL API. In the company\u2019s recent user conference GitHub Universe,
|
|
121
|
-
Kyle Daigle, GitHub platform engineering manager, explained that the company...","url":"http:\/\/www.facebook.com\/l.php?u=http\u00253A\u00252F\u00252Fthenewstack.io\u00252Fgithub-dumps-rest-graphql-api\u00252F&h=
|
|
121
|
+
Kyle Daigle, GitHub platform engineering manager, explained that the company...","url":"http:\/\/www.facebook.com\/l.php?u=http\u00253A\u00252F\u00252Fthenewstack.io\u00252Fgithub-dumps-rest-graphql-api\u00252F&h=_AQEI0kXl&s=1&enc=AZMG7qsP4WAE7z5rrdgoWuVPkGChRFMJZGQxyXDNXtFUArlUFhWgOwa5KblbIyuR7zmr5z2CGw8N0y8o5POnsSWE","media":{"image":{"height":720,"src":"https:\/\/external.xx.fbcdn.net\/safe_image.php?d=AQC5HLw3s46cLqn7&w=720&h=720&url=http\u00253A\u00252F\u00252Fthenewstack.io\u00252Fwp-content\u00252Fuploads\u00252F2016\u00252F09\u00252FGHU-GraphQL-Woah.jpg&cfs=1&sx=0&sy=0&sw=2448&sh=2448","width":720}}}]}},{"name":"Taking
|
|
122
122
|
PHP Seriously","message":"https:\/\/m.facebook.com\/story.php?story_fbid=1098448240203391&id=100001146751327","updated_time":"2016-10-13T18:17:23+0000","created_time":"2016-10-13T17:15:20+0000","id":"150352985174571_521137638096102","attachments":{"data":[{"title":"Taking
|
|
123
|
-
PHP Seriously","description":"by Keith Adams, Slack Engineering","url":"https:\/\/www.facebook.com\/l.php?u=https\u00253A\u00252F\u00252Fslack.engineering\u00252Ftaking-php-seriously-cf7a60065329\u002523.g3w9ecf66&h=
|
|
123
|
+
PHP Seriously","description":"by Keith Adams, Slack Engineering","url":"https:\/\/www.facebook.com\/l.php?u=https\u00253A\u00252F\u00252Fslack.engineering\u00252Ftaking-php-seriously-cf7a60065329\u002523.g3w9ecf66&h=RAQFtsAiO&s=1&enc=AZN-5j4shGMS2JkJXLC5q7kCPj4qe6ycAuj8c_U_mRA4UamZICD_KTXPRsMa8EOmnihv20rFUrtxK8ge_8HZYKuF","media":{"image":{"height":669,"src":"https:\/\/external.xx.fbcdn.net\/safe_image.php?d=AQCmbxAdG46sLBUD&w=720&h=720&url=https\u00253A\u00252F\u00252Fd262ilb51hltx0.cloudfront.net\u00252Fmax\u00252F1200\u00252F1\u00252Ax5N8tfTVEmQro2ySxoZtvw.jpeg&cfs=1","width":669}}}]}},{"name":"How
|
|
124
124
|
To Save The Princess In 8 Programming Languages","updated_time":"2016-10-06T08:39:47+0000","created_time":"2016-10-06T08:28:40+0000","id":"150352985174571_518029841740215","attachments":{"data":[{"title":"How
|
|
125
125
|
To Save The Princess In 8 Programming Languages","description":"Programming
|
|
126
126
|
sucks. This fairytale comic shows the different ways in which programming
|
|
127
|
-
languages could fail you in the fantasy kingdom.","url":"https:\/\/www.facebook.com\/l.php?u=https\u00253A\u00252F\u00252Ftoggl.com\u00252Fprogramming-princess&h=
|
|
127
|
+
languages could fail you in the fantasy kingdom.","url":"https:\/\/www.facebook.com\/l.php?u=https\u00253A\u00252F\u00252Ftoggl.com\u00252Fprogramming-princess&h=5AQGtDKXT&s=1&enc=AZOexDE35TO7ekXw1tL_NDKqddykXMcXshHtRNrMo6PAQEQyZXxmAj2CNTm93qHpXUX-yIbhUygt3Lhqqf97vpPE","media":{"image":{"height":630,"src":"https:\/\/external.xx.fbcdn.net\/safe_image.php?d=AQDEZQJwFjW82Fzm&w=720&h=720&url=https\u00253A\u00252F\u00252Ftoggl.com\u00252Fimages\u00252Fshare-img\u00252Ffb-share-git-princess.jpg&cfs=1","width":630}}}]}},{"name":"Guess
|
|
128
128
|
the Programming Language | Tutorialzine","message":"A little quiz to keep
|
|
129
129
|
you sharp on programming trends.","updated_time":"2016-10-06T06:51:44+0000","created_time":"2016-10-04T02:21:25+0000","id":"150352985174571_517105121832687","attachments":{"data":[{"title":"Guess
|
|
130
130
|
the Programming Language | Tutorialzine","description":"Can you tell Java
|
|
131
131
|
from JavaScript? Awesome! So you are ready to take our ultimate programming
|
|
132
|
-
challenge.","url":"http:\/\/www.facebook.com\/l.php?u=http\u00253A\u00252F\u00252Ftutorialzine.com\u00252F2014\u00252F06\u00252Fguess-the-programming-language\u00252F&h=
|
|
132
|
+
challenge.","url":"http:\/\/www.facebook.com\/l.php?u=http\u00253A\u00252F\u00252Ftutorialzine.com\u00252F2014\u00252F06\u00252Fguess-the-programming-language\u00252F&h=2AQG8RLQa&s=1&enc=AZNHAkruam89tHrbNhUDwn2CZnRGRn-dnlGpnCdBKu9G5q9UiMeLc0BMViE7HNzufAf2DwX3bVynC2XId_h4H1ga","media":{"image":{"height":490,"src":"https:\/\/external.xx.fbcdn.net\/safe_image.php?d=AQB9saA-D40lNQqm&w=720&h=720&url=http\u00253A\u00252F\u00252Fcdn.tutorialzine.com\u00252Fwp-content\u00252Fuploads\u00252F2014\u00252F06\u00252Fguess-the-programming-language.jpg&cfs=1","width":490}}}]}},{"name":"How
|
|
133
133
|
it feels to learn JavaScript in 2016","updated_time":"2016-10-06T01:18:12+0000","created_time":"2016-10-05T13:47:43+0000","id":"150352985174571_517701838439682","attachments":{"data":[{"title":"How
|
|
134
134
|
it feels to learn JavaScript in 2016","description":"Edit: Thanks for pointing
|
|
135
135
|
typos and mistakes, I\u2019ll update the article as noted. Discussion in HackerNews
|
|
136
|
-
and Reddit.","url":"https:\/\/www.facebook.com\/l.php?u=https\u00253A\u00252F\u00252Fhackernoon.com\u00252Fhow-it-feels-to-learn-javascript-in-2016-d3a717dd577f\u002523.m0lkkfan1&h=
|
|
136
|
+
and Reddit.","url":"https:\/\/www.facebook.com\/l.php?u=https\u00253A\u00252F\u00252Fhackernoon.com\u00252Fhow-it-feels-to-learn-javascript-in-2016-d3a717dd577f\u002523.m0lkkfan1&h=NAQE1vnlE&s=1&enc=AZNB-AqGB3BNuEP-4XzWR7_3cYMuvNodRCgzAJAZx1lnYI2gi0er48ma1ilNuZ8pcZi51jpx5W72YkS9cGVnw588","media":{"image":{"height":720,"src":"https:\/\/external.xx.fbcdn.net\/safe_image.php?d=AQBw5xIxnMhHtpnj&w=720&h=720&url=https\u00253A\u00252F\u00252Fcdn-images-2.medium.com\u00252Fmax\u00252F1200\u00252F1\u00252AraWO3dhM4jMjf9VY-kZzNg.png&cfs=1","width":720}}}]}},{"name":"5
|
|
137
137
|
emerging programming languages with a bright future","message":"Up and coming
|
|
138
138
|
languages worth keeping our eyes on. I''m already a huge fan of Crystal and
|
|
139
139
|
Rust, but the author has convinced me to pay more attention to Kotlin and
|
|
140
140
|
Elm.","updated_time":"2016-09-22T08:12:35+0000","created_time":"2016-09-21T10:13:58+0000","id":"150352985174571_511894255687107","attachments":{"data":[{"title":"5
|
|
141
141
|
emerging programming languages with a bright future","description":"Get the
|
|
142
142
|
elevator pitch for five of the most promising languages (some of them you
|
|
143
|
-
probably haven''t heard of before) that have the potential to grow...","url":"http:\/\/www.facebook.com\/l.php?u=http\u00253A\u00252F\u00252Ftechbeacon.com\u00252F5-emerging-programming-languages-bright-future\u00253Futm_content\u00253Dbuffer300a1\u002526utm_medium\u00253Dsocial\u002526utm_source\u00253Dtwitter.com\u002526utm_campaign\u00253Dbuffer&h=
|
|
143
|
+
probably haven''t heard of before) that have the potential to grow...","url":"http:\/\/www.facebook.com\/l.php?u=http\u00253A\u00252F\u00252Ftechbeacon.com\u00252F5-emerging-programming-languages-bright-future\u00253Futm_content\u00253Dbuffer300a1\u002526utm_medium\u00253Dsocial\u002526utm_source\u00253Dtwitter.com\u002526utm_campaign\u00253Dbuffer&h=HAQHG9V0a&s=1&enc=AZPxF0KnzWXKWSxJhIsR-cEnbSv3pCjDdkR9j0h9m7ek_gmZz6wI1BDiraWKwzZpflf6v21rQhUqXGhmfipDT87E","media":{"image":{"height":480,"src":"https:\/\/external.xx.fbcdn.net\/safe_image.php?d=AQAxbtCPHht3vWb6&w=720&h=720&url=http\u00253A\u00252F\u00252Ftechbeacon.com\u00252Fsites\u00252Fdefault\u00252Ffiles\u00252Fstyles\u00252Fsocial\u00252Fpublic\u00252Ffield\u00252Fimage\u00252F5_emerging_programming_languages_with_a_bright_future.jpg\u00253Fitok\u00253Dm0nlEinF&cfs=1","width":480}}}]}},{"name":"A
|
|
144
144
|
whole new Universe","message":"I can''t even wrap my head around all the new
|
|
145
145
|
features Github just released: code reviews, kanban boards, and much more.","updated_time":"2016-09-19T09:14:51+0000","created_time":"2016-09-15T03:42:48+0000","id":"150352985174571_509461352597064","attachments":{"data":[{"title":"A
|
|
146
146
|
whole new Universe","description":"Learn about the exciting features and announcements
|
|
147
147
|
revealed at this year\u2019s annual GitHub Universe conference at historic
|
|
148
|
-
Pier 70 in San Francisco.","url":"https:\/\/www.facebook.com\/l.php?u=https\u00253A\u00252F\u00252Fgithub.com\u00252Funiverse-2016&h=
|
|
149
|
-
is a tool-kit for building reactive applications on the JVM.","url":"http:\/\/www.facebook.com\/l.php?u=http\u00253A\u00252F\u00252Fvertx.io\u00252F&h=
|
|
148
|
+
Pier 70 in San Francisco.","url":"https:\/\/www.facebook.com\/l.php?u=https\u00253A\u00252F\u00252Fgithub.com\u00252Funiverse-2016&h=BAQGEWDdf&s=1&enc=AZOTH7qOaJiI2qGBBxtzbqzxx6mvbiZ-FU8x7pe8CJ4KGHdFMRFBP31626IfXIwjr__SY9RBJvdyt9jupfXcCHvu","media":{"image":{"height":630,"src":"https:\/\/external.xx.fbcdn.net\/safe_image.php?d=AQBsb70KV75vMJ8B&w=720&h=720&url=https\u00253A\u00252F\u00252Fassets-cdn.github.com\u00252Fimages\u00252Fmodules\u00252Funiverse-2016\u00252Funiverse-open-graph.png&cfs=1","width":630}}}]}},{"name":"Vert.x","message":"http:\/\/vertx.io\/","updated_time":"2016-09-13T20:34:39+0000","created_time":"2016-09-13T20:34:39+0000","id":"150352985174571_508953969314469","attachments":{"data":[{"title":"Vert.x","description":"Vert.x
|
|
149
|
+
is a tool-kit for building reactive applications on the JVM.","url":"http:\/\/www.facebook.com\/l.php?u=http\u00253A\u00252F\u00252Fvertx.io\u00252F&h=BAQGEWDdf&s=1&enc=AZNMZ1fniUfBXdq2EmR_iYFDl3XQ3riZPkfiK6yDlnY31I-HXbCo4Xn6xI3M2MqNAxbcVjWBFqatJS95zz8GQ3r0","media":{"image":{"height":360,"src":"https:\/\/external.xx.fbcdn.net\/safe_image.php?d=AQC13D8UqDGMX5IF&w=720&h=720&url=http\u00253A\u00252F\u00252Fvertx.io\u00252Fassets\u00252Fuser_logos\u00252Fswisscom.png&cfs=1","width":360}}}]}},{"name":"Codecademy","updated_time":"2016-09-13T02:04:20+0000","created_time":"2016-09-13T02:04:20+0000","id":"150352985174571_508631766013356","attachments":{"data":[{"title":"Timeline
|
|
150
150
|
Photos","description":"Are you a Javascript guru? Then you should check out
|
|
151
151
|
our course in React.js!\n\nReact enables websites to display complex animations,
|
|
152
152
|
large volumes of data, or other memory-heavy tasks without slowing down. At
|
|
153
153
|
the end of the course, you\u2019ll know how to build sophisticated React applications.
|
|
154
154
|
Check it out!\n\nhttp:\/\/codecademy.io\/YRFS3047CDf","url":"https:\/\/www.facebook.com\/codecademy\/photos\/a.553205214692855.138303.272256069454439\/1387442691269099\/?type=3","media":{"image":{"height":377,"src":"https:\/\/scontent.xx.fbcdn.net\/v\/t1.0-9\/s720x720\/14264951_1387442691269099_7557697962736020966_n.png?oh=1c67604ccd5679d98c72100f943f3863&oe=5891713F","width":720}}}]}}],"paging":{"previous":"https:\/\/graph.facebook.com\/v2.7\/150352985174571\/feed?fields=name,message,updated_time,created_time,attachments\u00257Btitle,description,url,media\u00257D&since=1477620579&access_token=<ACCESS_TOKEN>&limit=25&__paging_token=enc_AdAchevYgL0m5xCIn76hqJ3aBASZBLnnBkHzYtokZBey5PDaQuxdVxZBDfJm2ifeekq5qoALQ6ZA4IMrAhmfWQ5dqvhVBMLvnbwrEWU90LoviZCxtZBgZDZD&__previous=1","next":"https:\/\/graph.facebook.com\/v2.7\/150352985174571\/feed?fields=name,message,updated_time,created_time,attachments\u00257Btitle,description,url,media\u00257D&access_token=<ACCESS_TOKEN>&limit=25&until=1473732260&__paging_token=enc_AdA5yvCYKggN5gwcOMpKsofaKTcjoBDhX09ctf67EExuFDAc0wxCiNzAyIGndHrMAZCrp9QmVKgQaJrU3U5ORbHEtw7NHfA9kZAKWKz6jUvEBtYAZDZD"}}}'
|
|
155
155
|
http_version:
|
|
156
|
-
recorded_at: Wed, 02 Nov 2016 05:
|
|
156
|
+
recorded_at: Wed, 02 Nov 2016 05:07:21 GMT
|
|
157
157
|
- request:
|
|
158
158
|
method: get
|
|
159
159
|
uri: https://graph.facebook.com/150352985174571_517105121832687?access_token=<CLIENT_ID>%7C0WiNEz4rbcf5Ki0Ge4vR7m4Wlts&fields=name,message,updated_time,created_time,attachments%7Btitle,description,url,media%7D
|
|
@@ -175,7 +175,7 @@ http_interactions:
|
|
|
175
175
|
Access-Control-Allow-Origin:
|
|
176
176
|
- "*"
|
|
177
177
|
Etag:
|
|
178
|
-
- '"
|
|
178
|
+
- '"27327e2f51ece7cfe83c99526423bcabead41d2f"'
|
|
179
179
|
Pragma:
|
|
180
180
|
- no-cache
|
|
181
181
|
Cache-Control:
|
|
@@ -187,15 +187,15 @@ http_interactions:
|
|
|
187
187
|
Content-Type:
|
|
188
188
|
- text/javascript; charset=UTF-8
|
|
189
189
|
X-Fb-Trace-Id:
|
|
190
|
-
-
|
|
190
|
+
- DkYopdItcdU
|
|
191
191
|
X-Fb-Rev:
|
|
192
192
|
- '2657702'
|
|
193
193
|
Vary:
|
|
194
194
|
- Accept-Encoding
|
|
195
195
|
X-Fb-Debug:
|
|
196
|
-
-
|
|
196
|
+
- jXpN1eHL+3JeRAKJGdX2y71uGqZnqPusLzTnxojeTsCFpiC/nOjxpKLQLhP7vk3UOBhhBP9DWYmiXJFp6dA9xg==
|
|
197
197
|
Date:
|
|
198
|
-
- Wed, 02 Nov 2016 05:
|
|
198
|
+
- Wed, 02 Nov 2016 05:07:23 GMT
|
|
199
199
|
Connection:
|
|
200
200
|
- close
|
|
201
201
|
body:
|
|
@@ -204,7 +204,7 @@ http_interactions:
|
|
|
204
204
|
little quiz to keep you sharp on programming trends.","updated_time":"2016-10-06T06:51:44+0000","created_time":"2016-10-04T02:21:25+0000","attachments":{"data":[{"title":"Guess
|
|
205
205
|
the Programming Language | Tutorialzine","description":"Can you tell Java
|
|
206
206
|
from JavaScript? Awesome! So you are ready to take our ultimate programming
|
|
207
|
-
challenge.","url":"http:\/\/www.facebook.com\/l.php?u=http\u00253A\u00252F\u00252Ftutorialzine.com\u00252F2014\u00252F06\u00252Fguess-the-programming-language\u00252F&h=
|
|
207
|
+
challenge.","url":"http:\/\/www.facebook.com\/l.php?u=http\u00253A\u00252F\u00252Ftutorialzine.com\u00252F2014\u00252F06\u00252Fguess-the-programming-language\u00252F&h=WAQF2RvSH&s=1&enc=AZNnPD9PkV-Fi2zXmBc0G2m2vfSBK13pfsnMUdi4CW0nr4vDwrP3zDG65w8tqf_gFbQZccbOzm8O5E9-Ofcur0WY","media":{"image":{"height":490,"src":"https:\/\/external.xx.fbcdn.net\/safe_image.php?d=AQB9saA-D40lNQqm&w=720&h=720&url=http\u00253A\u00252F\u00252Fcdn.tutorialzine.com\u00252Fwp-content\u00252Fuploads\u00252F2014\u00252F06\u00252Fguess-the-programming-language.jpg&cfs=1","width":490}}}]},"id":"150352985174571_517105121832687"}'
|
|
208
208
|
http_version:
|
|
209
|
-
recorded_at: Wed, 02 Nov 2016 05:
|
|
209
|
+
recorded_at: Wed, 02 Nov 2016 05:07:22 GMT
|
|
210
210
|
recorded_with: VCR 3.0.3
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: facegroups
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.2.
|
|
4
|
+
version: 0.2.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Aditya Utama Wijaya
|
|
@@ -190,6 +190,7 @@ files:
|
|
|
190
190
|
- lib/facegroups/feed.rb
|
|
191
191
|
- lib/facegroups/group.rb
|
|
192
192
|
- lib/facegroups/posting.rb
|
|
193
|
+
- lib/facegroups/runner.rb
|
|
193
194
|
- lib/facegroups/version.rb
|
|
194
195
|
- spec/facegroups_spec.rb
|
|
195
196
|
- spec/fixtures/cassettes/facebook_api.yml
|