social_net 0.2.10 → 0.2.11
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/README.md +2 -3
- data/lib/social_net/instagram/models/video.rb +5 -20
- data/lib/social_net/version.rb +1 -1
- data/spec/social_net/instagram/models/video_spec.rb +6 -44
- data/spec/support/cassettes/SocialNet_Instagram_Models_Video/_find_by_private_shortcode/given_a_nonexistant_private_video_shortcode/.yml +207 -0
- data/spec/support/cassettes/SocialNet_Instagram_Models_Video/_find_by_private_shortcode/given_an_existing_private_video_s_shortcode/returns_an_object_representing_that_video.yml +672 -605
- data/spec/support/cassettes/SocialNet_Instagram_Models_Video/{_find_by_private_shortcode → _find_by_public_shortcode}/given_a_nonexistant_video_shortcode/.yml +39 -66
- data/spec/support/cassettes/SocialNet_Instagram_Models_Video/_find_by_public_shortcode/given_an_existing_image_shortcode/.yml +636 -0
- data/spec/support/cassettes/SocialNet_Instagram_Models_Video/_find_by_public_shortcode/given_an_existing_public_video_s_shortcode/returns_an_object_representing_that_video.yml +658 -0
- metadata +11 -16
- data/spec/support/cassettes/SocialNet_Instagram_Models_Video/_find_by_media_id/given_a_nonexistant_video/.yml +0 -53
- data/spec/support/cassettes/SocialNet_Instagram_Models_Video/_find_by_media_id/given_an_existing_video_s_media_id/returns_an_object_representing_that_video.yml +0 -69
- data/spec/support/cassettes/SocialNet_Instagram_Models_Video/_find_by_shortcode/given_a_nonexistant_video_shortcode/.yml +0 -53
- data/spec/support/cassettes/SocialNet_Instagram_Models_Video/_find_by_shortcode/given_an_existing_image_shortcode/.yml +0 -91
- data/spec/support/cassettes/SocialNet_Instagram_Models_Video/_find_by_shortcode/given_an_existing_video_s_shortcode/returns_an_object_representing_that_video.yml +0 -70
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: social_net
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.11
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jeremy Cohen Hoffing
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2018-04-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -200,13 +200,11 @@ files:
|
|
200
200
|
- spec/support/cassettes/SocialNet_Instagram_Models_User/_find_by_/given_an_existing_case-insensitive_username/returns_an_object_representing_that_user.yml
|
201
201
|
- spec/support/cassettes/SocialNet_Instagram_Models_User/_find_by_/given_an_unknown_username/.yml
|
202
202
|
- spec/support/cassettes/SocialNet_Instagram_Models_User/_videos/given_an_existing_user/returns_an_array_of_video_posts_from_the_user.yml
|
203
|
-
- spec/support/cassettes/SocialNet_Instagram_Models_Video/
|
204
|
-
- spec/support/cassettes/SocialNet_Instagram_Models_Video/_find_by_media_id/given_an_existing_video_s_media_id/returns_an_object_representing_that_video.yml
|
205
|
-
- spec/support/cassettes/SocialNet_Instagram_Models_Video/_find_by_private_shortcode/given_a_nonexistant_video_shortcode/.yml
|
203
|
+
- spec/support/cassettes/SocialNet_Instagram_Models_Video/_find_by_private_shortcode/given_a_nonexistant_private_video_shortcode/.yml
|
206
204
|
- spec/support/cassettes/SocialNet_Instagram_Models_Video/_find_by_private_shortcode/given_an_existing_private_video_s_shortcode/returns_an_object_representing_that_video.yml
|
207
|
-
- spec/support/cassettes/SocialNet_Instagram_Models_Video/
|
208
|
-
- spec/support/cassettes/SocialNet_Instagram_Models_Video/
|
209
|
-
- spec/support/cassettes/SocialNet_Instagram_Models_Video/
|
205
|
+
- spec/support/cassettes/SocialNet_Instagram_Models_Video/_find_by_public_shortcode/given_a_nonexistant_video_shortcode/.yml
|
206
|
+
- spec/support/cassettes/SocialNet_Instagram_Models_Video/_find_by_public_shortcode/given_an_existing_image_shortcode/.yml
|
207
|
+
- spec/support/cassettes/SocialNet_Instagram_Models_Video/_find_by_public_shortcode/given_an_existing_public_video_s_shortcode/returns_an_object_representing_that_video.yml
|
210
208
|
- spec/support/vcr.rb
|
211
209
|
homepage: https://github.com/CollabCreators/social_net
|
212
210
|
licenses:
|
@@ -228,7 +226,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
228
226
|
version: '0'
|
229
227
|
requirements: []
|
230
228
|
rubyforge_project:
|
231
|
-
rubygems_version: 2.
|
229
|
+
rubygems_version: 2.6.11
|
232
230
|
signing_key:
|
233
231
|
specification_version: 4
|
234
232
|
summary: An API Client for social networks
|
@@ -247,12 +245,9 @@ test_files:
|
|
247
245
|
- spec/support/cassettes/SocialNet_Instagram_Models_User/_find_by_/given_an_existing_case-insensitive_username/returns_an_object_representing_that_user.yml
|
248
246
|
- spec/support/cassettes/SocialNet_Instagram_Models_User/_find_by_/given_an_unknown_username/.yml
|
249
247
|
- spec/support/cassettes/SocialNet_Instagram_Models_User/_videos/given_an_existing_user/returns_an_array_of_video_posts_from_the_user.yml
|
250
|
-
- spec/support/cassettes/SocialNet_Instagram_Models_Video/
|
251
|
-
- spec/support/cassettes/SocialNet_Instagram_Models_Video/_find_by_media_id/given_an_existing_video_s_media_id/returns_an_object_representing_that_video.yml
|
252
|
-
- spec/support/cassettes/SocialNet_Instagram_Models_Video/_find_by_private_shortcode/given_a_nonexistant_video_shortcode/.yml
|
248
|
+
- spec/support/cassettes/SocialNet_Instagram_Models_Video/_find_by_private_shortcode/given_a_nonexistant_private_video_shortcode/.yml
|
253
249
|
- spec/support/cassettes/SocialNet_Instagram_Models_Video/_find_by_private_shortcode/given_an_existing_private_video_s_shortcode/returns_an_object_representing_that_video.yml
|
254
|
-
- spec/support/cassettes/SocialNet_Instagram_Models_Video/
|
255
|
-
- spec/support/cassettes/SocialNet_Instagram_Models_Video/
|
256
|
-
- spec/support/cassettes/SocialNet_Instagram_Models_Video/
|
250
|
+
- spec/support/cassettes/SocialNet_Instagram_Models_Video/_find_by_public_shortcode/given_a_nonexistant_video_shortcode/.yml
|
251
|
+
- spec/support/cassettes/SocialNet_Instagram_Models_Video/_find_by_public_shortcode/given_an_existing_image_shortcode/.yml
|
252
|
+
- spec/support/cassettes/SocialNet_Instagram_Models_Video/_find_by_public_shortcode/given_an_existing_public_video_s_shortcode/returns_an_object_representing_that_video.yml
|
257
253
|
- spec/support/vcr.rb
|
258
|
-
has_rdoc:
|
@@ -1,53 +0,0 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: get
|
5
|
-
uri: https://api.instagram.com/v1/media/31231231231231232?access_token=INSTAGRAM_ACCESS_TOKEN
|
6
|
-
body:
|
7
|
-
encoding: US-ASCII
|
8
|
-
string: ''
|
9
|
-
headers:
|
10
|
-
Accept-Encoding:
|
11
|
-
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
12
|
-
Accept:
|
13
|
-
- "*/*"
|
14
|
-
User-Agent:
|
15
|
-
- Ruby
|
16
|
-
response:
|
17
|
-
status:
|
18
|
-
code: 400
|
19
|
-
message: Bad Request
|
20
|
-
headers:
|
21
|
-
Content-Type:
|
22
|
-
- application/json; charset=utf-8
|
23
|
-
X-Ratelimit-Limit:
|
24
|
-
- '5000'
|
25
|
-
X-Ratelimit-Remaining:
|
26
|
-
- '4984'
|
27
|
-
Cache-Control:
|
28
|
-
- private, no-cache, no-store, must-revalidate
|
29
|
-
Pragma:
|
30
|
-
- no-cache
|
31
|
-
Expires:
|
32
|
-
- Sat, 01 Jan 2000 00:00:00 GMT
|
33
|
-
Vary:
|
34
|
-
- Cookie, Accept-Language
|
35
|
-
Content-Language:
|
36
|
-
- en
|
37
|
-
Date:
|
38
|
-
- Thu, 27 Jul 2017 19:38:35 GMT
|
39
|
-
Set-Cookie:
|
40
|
-
- csrftoken=O1XfrgPYnySc9eDj9CeLmEOTik10X2iC; expires=Thu, 26-Jul-2018 19:38:35
|
41
|
-
GMT; Max-Age=31449600; Path=/; Secure
|
42
|
-
- rur=FRC; Path=/
|
43
|
-
Connection:
|
44
|
-
- keep-alive
|
45
|
-
Content-Length:
|
46
|
-
- '94'
|
47
|
-
body:
|
48
|
-
encoding: UTF-8
|
49
|
-
string: '{"meta": {"code": 400, "error_type": "APINotFoundError", "error_message":
|
50
|
-
"invalid media id"}}'
|
51
|
-
http_version:
|
52
|
-
recorded_at: Thu, 27 Jul 2017 19:38:35 GMT
|
53
|
-
recorded_with: VCR 2.9.3
|
@@ -1,69 +0,0 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: get
|
5
|
-
uri: https://api.instagram.com/v1/media/1531332985868221389?access_token=INSTAGRAM_ACCESS_TOKEN
|
6
|
-
body:
|
7
|
-
encoding: US-ASCII
|
8
|
-
string: ''
|
9
|
-
headers:
|
10
|
-
Accept-Encoding:
|
11
|
-
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
12
|
-
Accept:
|
13
|
-
- "*/*"
|
14
|
-
User-Agent:
|
15
|
-
- Ruby
|
16
|
-
response:
|
17
|
-
status:
|
18
|
-
code: 200
|
19
|
-
message: OK
|
20
|
-
headers:
|
21
|
-
Content-Type:
|
22
|
-
- application/json; charset=utf-8
|
23
|
-
X-Ratelimit-Limit:
|
24
|
-
- '5000'
|
25
|
-
X-Ratelimit-Remaining:
|
26
|
-
- '4985'
|
27
|
-
Cache-Control:
|
28
|
-
- private, no-cache, no-store, must-revalidate
|
29
|
-
Pragma:
|
30
|
-
- no-cache
|
31
|
-
Expires:
|
32
|
-
- Sat, 01 Jan 2000 00:00:00 GMT
|
33
|
-
Vary:
|
34
|
-
- Cookie, Accept-Language, Accept-Encoding
|
35
|
-
Content-Language:
|
36
|
-
- en
|
37
|
-
Date:
|
38
|
-
- Thu, 27 Jul 2017 19:38:34 GMT
|
39
|
-
Set-Cookie:
|
40
|
-
- csrftoken=xbuHrg8FggVY3hQRyeBIPnBe5g5SMYd2; expires=Thu, 26-Jul-2018 19:38:34
|
41
|
-
GMT; Max-Age=31449600; Path=/; Secure
|
42
|
-
- rur=FRC; Path=/
|
43
|
-
Connection:
|
44
|
-
- keep-alive
|
45
|
-
Content-Length:
|
46
|
-
- '702'
|
47
|
-
body:
|
48
|
-
encoding: ASCII-8BIT
|
49
|
-
string: '{"data": {"id": "1531332985868221389_2920261222", "user": {"id": "2920261222",
|
50
|
-
"full_name": "EjamBrocolli", "profile_picture": "https://scontent.cdninstagram.com/t51.2885-19/s150x150/20181021_187099138494103_2678022811838054400_a.jpg",
|
51
|
-
"username": "ejamtucker"}, "images": {"thumbnail": {"width": 150, "height":
|
52
|
-
150, "url": "https://scontent.cdninstagram.com/t51.2885-15/s150x150/e15/18948059_1942577789357229_5999747679591071744_n.jpg"},
|
53
|
-
"low_resolution": {"width": 320, "height": 320, "url": "https://scontent.cdninstagram.com/t51.2885-15/s320x320/e15/18948059_1942577789357229_5999747679591071744_n.jpg"},
|
54
|
-
"standard_resolution": {"width": 640, "height": 640, "url": "https://scontent.cdninstagram.com/t51.2885-15/e15/18948059_1942577789357229_5999747679591071744_n.jpg"}},
|
55
|
-
"created_time": "1496769139", "caption": {"id": "17871224890103184", "text":
|
56
|
-
"Yesterday Hit Me Hard \ud83c\udf51 #skate.my #Hallofmeat (Cukup Lah Ni Makanan
|
57
|
-
Sahur)", "created_time": "1496769139", "from": {"id": "2920261222", "full_name":
|
58
|
-
"EjamBrocolli", "profile_picture": "https://scontent.cdninstagram.com/t51.2885-19/s150x150/20181021_187099138494103_2678022811838054400_a.jpg",
|
59
|
-
"username": "ejamtucker"}}, "user_has_liked": false, "likes": {"count": 112},
|
60
|
-
"tags": ["skate", "hallofmeat"], "filter": "Normal", "comments": {"count":
|
61
|
-
17}, "type": "video", "link": "https://www.instagram.com/p/BVAYzy_g3vN/",
|
62
|
-
"location": null, "attribution": null, "users_in_photo": [], "videos": {"standard_resolution":
|
63
|
-
{"width": 640, "height": 640, "url": "https://scontent.cdninstagram.com/t50.2886-16/18954088_1445442168855176_8271610702855143424_n.mp4"},
|
64
|
-
"low_bandwidth": {"width": 480, "height": 480, "url": "https://scontent.cdninstagram.com/t50.2886-16/18928806_320856988345914_4131951279704375296_n.mp4"},
|
65
|
-
"low_resolution": {"width": 480, "height": 480, "url": "https://scontent.cdninstagram.com/t50.2886-16/18928806_320856988345914_4131951279704375296_n.mp4"}}},
|
66
|
-
"meta": {"code": 200}}'
|
67
|
-
http_version:
|
68
|
-
recorded_at: Thu, 27 Jul 2017 19:38:34 GMT
|
69
|
-
recorded_with: VCR 2.9.3
|
@@ -1,53 +0,0 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: get
|
5
|
-
uri: https://api.instagram.com/v1/media/shortcode/BQ-nC7xg8ZX?access_token=INSTAGRAM_ACCESS_TOKEN
|
6
|
-
body:
|
7
|
-
encoding: US-ASCII
|
8
|
-
string: ''
|
9
|
-
headers:
|
10
|
-
Accept-Encoding:
|
11
|
-
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
12
|
-
Accept:
|
13
|
-
- "*/*"
|
14
|
-
User-Agent:
|
15
|
-
- Ruby
|
16
|
-
response:
|
17
|
-
status:
|
18
|
-
code: 400
|
19
|
-
message: Bad Request
|
20
|
-
headers:
|
21
|
-
Content-Type:
|
22
|
-
- application/json; charset=utf-8
|
23
|
-
X-Ratelimit-Limit:
|
24
|
-
- '5000'
|
25
|
-
X-Ratelimit-Remaining:
|
26
|
-
- '4982'
|
27
|
-
Cache-Control:
|
28
|
-
- private, no-cache, no-store, must-revalidate
|
29
|
-
Pragma:
|
30
|
-
- no-cache
|
31
|
-
Expires:
|
32
|
-
- Sat, 01 Jan 2000 00:00:00 GMT
|
33
|
-
Vary:
|
34
|
-
- Cookie, Accept-Language
|
35
|
-
Content-Language:
|
36
|
-
- en
|
37
|
-
Date:
|
38
|
-
- Thu, 27 Jul 2017 19:38:35 GMT
|
39
|
-
Set-Cookie:
|
40
|
-
- csrftoken=CpPwDnP4bX67JnIW9NSRsM0K6lDIeBVK; expires=Thu, 26-Jul-2018 19:38:35
|
41
|
-
GMT; Max-Age=31449600; Path=/; Secure
|
42
|
-
- rur=FRC; Path=/
|
43
|
-
Connection:
|
44
|
-
- keep-alive
|
45
|
-
Content-Length:
|
46
|
-
- '94'
|
47
|
-
body:
|
48
|
-
encoding: UTF-8
|
49
|
-
string: '{"meta": {"code": 400, "error_type": "APINotFoundError", "error_message":
|
50
|
-
"invalid media id"}}'
|
51
|
-
http_version:
|
52
|
-
recorded_at: Thu, 27 Jul 2017 19:38:35 GMT
|
53
|
-
recorded_with: VCR 2.9.3
|
@@ -1,91 +0,0 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: get
|
5
|
-
uri: https://api.instagram.com/v1/media/shortcode/BW8yP8FgXZt?access_token=INSTAGRAM_ACCESS_TOKEN
|
6
|
-
body:
|
7
|
-
encoding: US-ASCII
|
8
|
-
string: ''
|
9
|
-
headers:
|
10
|
-
Accept-Encoding:
|
11
|
-
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
12
|
-
Accept:
|
13
|
-
- "*/*"
|
14
|
-
User-Agent:
|
15
|
-
- Ruby
|
16
|
-
response:
|
17
|
-
status:
|
18
|
-
code: 200
|
19
|
-
message: OK
|
20
|
-
headers:
|
21
|
-
Content-Type:
|
22
|
-
- application/json; charset=utf-8
|
23
|
-
X-Ratelimit-Limit:
|
24
|
-
- '5000'
|
25
|
-
X-Ratelimit-Remaining:
|
26
|
-
- '4986'
|
27
|
-
Cache-Control:
|
28
|
-
- private, no-cache, no-store, must-revalidate
|
29
|
-
Pragma:
|
30
|
-
- no-cache
|
31
|
-
Expires:
|
32
|
-
- Sat, 01 Jan 2000 00:00:00 GMT
|
33
|
-
Vary:
|
34
|
-
- Cookie, Accept-Language, Accept-Encoding
|
35
|
-
Content-Language:
|
36
|
-
- en
|
37
|
-
Date:
|
38
|
-
- Thu, 27 Jul 2017 19:38:30 GMT
|
39
|
-
Set-Cookie:
|
40
|
-
- csrftoken=UOSSAlqFmUbRcljWokxgjU3K5mJ4JvDu; expires=Thu, 26-Jul-2018 19:38:30
|
41
|
-
GMT; Max-Age=31449600; Path=/; Secure
|
42
|
-
- rur=FRC; Path=/
|
43
|
-
Connection:
|
44
|
-
- keep-alive
|
45
|
-
Content-Length:
|
46
|
-
- '1337'
|
47
|
-
body:
|
48
|
-
encoding: ASCII-8BIT
|
49
|
-
string: '{"data": {"id": "1566347768052676205_487786346", "user": {"id": "487786346",
|
50
|
-
"full_name": "Collab", "profile_picture": "https://scontent.cdninstagram.com/t51.2885-19/s150x150/18380272_1415230358523681_1718467959032119296_a.jpg",
|
51
|
-
"username": "collab"}, "images": {"thumbnail": {"width": 150, "height": 150,
|
52
|
-
"url": "https://scontent.cdninstagram.com/t51.2885-15/s150x150/e35/c58.0.963.963/20225306_1964653293814332_1850808958122459136_n.jpg"},
|
53
|
-
"low_resolution": {"width": 320, "height": 285, "url": "https://scontent.cdninstagram.com/t51.2885-15/s320x320/e35/20225306_1964653293814332_1850808958122459136_n.jpg"},
|
54
|
-
"standard_resolution": {"width": 640, "height": 570, "url": "https://scontent.cdninstagram.com/t51.2885-15/s640x640/sh0.08/e35/20225306_1964653293814332_1850808958122459136_n.jpg"}},
|
55
|
-
"created_time": "1500943226", "caption": {"id": "17867912779140215", "text":
|
56
|
-
"Miss the Collab x @NewHopeClub livestream? Blake loves a good romcom, George
|
57
|
-
can teleport, Reece is always down for a prank, and all the boys may be aliens.
|
58
|
-
Come hang with Collab weekdays on live.ly at 2:30PM PST. \ud83d\udc7d\ud83c\udfb8\ud83d\ude4c\n____\n#NewHopeClub
|
59
|
-
#musically #lively #CollabFam", "created_time": "1500943226", "from": {"id":
|
60
|
-
"487786346", "full_name": "Collab", "profile_picture": "https://scontent.cdninstagram.com/t51.2885-19/s150x150/18380272_1415230358523681_1718467959032119296_a.jpg",
|
61
|
-
"username": "collab"}}, "user_has_liked": false, "likes": {"count": 103},
|
62
|
-
"tags": ["musically", "newhopeclub", "collabfam", "lively"], "filter": "Normal",
|
63
|
-
"comments": {"count": 1}, "type": "image", "link": "https://www.instagram.com/p/BW8yP8FgXZt/",
|
64
|
-
"location": null, "attribution": null, "users_in_photo": [{"user": {"id":
|
65
|
-
"12468050", "full_name": "J U L I A \u2022 A B N E R", "profile_picture":
|
66
|
-
"https://scontent.cdninstagram.com/t51.2885-19/s150x150/18512602_1052410774891444_7398788660142800896_a.jpg",
|
67
|
-
"username": "juliaabner"}, "position": {"x": 0.8866666666666667, "y": 0.680373831775701}},
|
68
|
-
{"user": {"id": "21565883", "full_name": "Reece Bibby", "profile_picture":
|
69
|
-
"https://scontent.cdninstagram.com/t51.2885-19/s150x150/20066868_1427792173936290_460174422569910272_a.jpg",
|
70
|
-
"username": "newhopereece"}, "position": {"x": 0.3026666666666666, "y": 0.1345794392523365}},
|
71
|
-
{"user": {"id": "273978632", "full_name": "Will McFadden", "profile_picture":
|
72
|
-
"https://scontent.cdninstagram.com/t51.2885-19/s150x150/17661819_207451526408917_2143503239813791744_a.jpg",
|
73
|
-
"username": "willmcfadden"}, "position": {"x": 0.7013333333333334, "y": 0.4755140186915888}},
|
74
|
-
{"user": {"id": "362367244", "full_name": "Blake Richardson", "profile_picture":
|
75
|
-
"https://scontent.cdninstagram.com/t51.2885-19/s150x150/18299732_1823610774624697_3252079022405844992_a.jpg",
|
76
|
-
"username": "newhopeblake"}, "position": {"x": 0.4213333333333333, "y": 0.2078504672897196}},
|
77
|
-
{"user": {"id": "461171563", "full_name": "George Smith", "profile_picture":
|
78
|
-
"https://scontent.cdninstagram.com/t51.2885-19/s150x150/20065329_330688504048861_3205172348831399936_a.jpg",
|
79
|
-
"username": "newhopegeorge"}, "position": {"x": 0.12, "y": 0.4650467289719626}},
|
80
|
-
{"user": {"id": "1523104692", "full_name": "musical.ly", "profile_picture":
|
81
|
-
"https://scontent.cdninstagram.com/t51.2885-19/s150x150/15623723_1884415811791802_316399851170430976_n.jpg",
|
82
|
-
"username": "musical.ly"}, "position": {"x": 0.4786666666666667, "y": 0.8044859813084112}},
|
83
|
-
{"user": {"id": "2155383298", "full_name": "New Hope Club", "profile_picture":
|
84
|
-
"https://scontent.cdninstagram.com/t51.2885-19/s150x150/15624530_397945037221212_5299798607413641216_a.jpg",
|
85
|
-
"username": "newhopeclub"}, "position": {"x": 0.328, "y": 0.5577570093457944}},
|
86
|
-
{"user": {"id": "3289333658", "full_name": "live.ly", "profile_picture": "https://scontent.cdninstagram.com/t51.2885-19/s150x150/15034999_570474333148474_351167774640308224_a.jpg",
|
87
|
-
"username": "live.ly"}, "position": {"x": 0.2186666666666667, "y": 0.1958878504672897}}]},
|
88
|
-
"meta": {"code": 200}}'
|
89
|
-
http_version:
|
90
|
-
recorded_at: Thu, 27 Jul 2017 19:38:30 GMT
|
91
|
-
recorded_with: VCR 2.9.3
|
@@ -1,70 +0,0 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: get
|
5
|
-
uri: https://api.instagram.com/v1/media/shortcode/BW-nC7xg8ZX?access_token=INSTAGRAM_ACCESS_TOKEN
|
6
|
-
body:
|
7
|
-
encoding: US-ASCII
|
8
|
-
string: ''
|
9
|
-
headers:
|
10
|
-
Accept-Encoding:
|
11
|
-
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
12
|
-
Accept:
|
13
|
-
- "*/*"
|
14
|
-
User-Agent:
|
15
|
-
- Ruby
|
16
|
-
response:
|
17
|
-
status:
|
18
|
-
code: 200
|
19
|
-
message: OK
|
20
|
-
headers:
|
21
|
-
Content-Type:
|
22
|
-
- application/json; charset=utf-8
|
23
|
-
X-Ratelimit-Limit:
|
24
|
-
- '5000'
|
25
|
-
X-Ratelimit-Remaining:
|
26
|
-
- '4983'
|
27
|
-
Cache-Control:
|
28
|
-
- private, no-cache, no-store, must-revalidate
|
29
|
-
Pragma:
|
30
|
-
- no-cache
|
31
|
-
Expires:
|
32
|
-
- Sat, 01 Jan 2000 00:00:00 GMT
|
33
|
-
Vary:
|
34
|
-
- Cookie, Accept-Language, Accept-Encoding
|
35
|
-
Content-Language:
|
36
|
-
- en
|
37
|
-
Date:
|
38
|
-
- Thu, 27 Jul 2017 19:38:35 GMT
|
39
|
-
Set-Cookie:
|
40
|
-
- csrftoken=h06eGTYAEOh7UwFsy3VzNYjWC6efmV7K; expires=Thu, 26-Jul-2018 19:38:35
|
41
|
-
GMT; Max-Age=31449600; Path=/; Secure
|
42
|
-
- rur=FRC; Path=/
|
43
|
-
Connection:
|
44
|
-
- keep-alive
|
45
|
-
Content-Length:
|
46
|
-
- '726'
|
47
|
-
body:
|
48
|
-
encoding: ASCII-8BIT
|
49
|
-
string: '{"data": {"id": "1566861445805885015_487786346", "user": {"id": "487786346",
|
50
|
-
"full_name": "Collab", "profile_picture": "https://scontent.cdninstagram.com/t51.2885-19/s150x150/18380272_1415230358523681_1718467959032119296_a.jpg",
|
51
|
-
"username": "collab"}, "images": {"thumbnail": {"width": 150, "height": 150,
|
52
|
-
"url": "https://scontent.cdninstagram.com/t51.2885-15/s150x150/e15/c0.76.612.612/20214481_1993293670904550_4498270337460338688_n.jpg"},
|
53
|
-
"low_resolution": {"width": 320, "height": 400, "url": "https://scontent.cdninstagram.com/t51.2885-15/e15/p320x320/20214481_1993293670904550_4498270337460338688_n.jpg"},
|
54
|
-
"standard_resolution": {"width": 612, "height": 765, "url": "https://scontent.cdninstagram.com/t51.2885-15/e15/20214481_1993293670904550_4498270337460338688_n.jpg"}},
|
55
|
-
"created_time": "1501004461", "caption": {"id": "17877475462121699", "text":
|
56
|
-
"Her: Babe some guy just asked for my number \u2800\nMe: Who?\u2800\nHer:
|
57
|
-
That guy over th.....\u2800\nMe:\u2800\n____\n\ud83c\udfa5: @thebestfailstbf
|
58
|
-
#fail #funnyvideos #beach #beachlife", "created_time": "1501004461", "from":
|
59
|
-
{"id": "487786346", "full_name": "Collab", "profile_picture": "https://scontent.cdninstagram.com/t51.2885-19/s150x150/18380272_1415230358523681_1718467959032119296_a.jpg",
|
60
|
-
"username": "collab"}}, "user_has_liked": false, "likes": {"count": 84}, "tags":
|
61
|
-
["beach", "beachlife", "funnyvideos", "fail"], "filter": "Clarendon", "comments":
|
62
|
-
{"count": 4}, "type": "video", "link": "https://www.instagram.com/p/BW-nC7xg8ZX/",
|
63
|
-
"location": null, "attribution": null, "users_in_photo": [], "videos": {"standard_resolution":
|
64
|
-
{"width": 480, "height": 600, "url": "https://scontent.cdninstagram.com/t50.2886-16/20372137_156190564936990_2601958215176421376_n.mp4"},
|
65
|
-
"low_bandwidth": {"width": 480, "height": 600, "url": "https://scontent.cdninstagram.com/t50.2886-16/20372137_156190564936990_2601958215176421376_n.mp4"},
|
66
|
-
"low_resolution": {"width": 480, "height": 600, "url": "https://scontent.cdninstagram.com/t50.2886-16/20372137_156190564936990_2601958215176421376_n.mp4"}}},
|
67
|
-
"meta": {"code": 200}}'
|
68
|
-
http_version:
|
69
|
-
recorded_at: Thu, 27 Jul 2017 19:38:35 GMT
|
70
|
-
recorded_with: VCR 2.9.3
|