linkedin2 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rspec +3 -0
- data/.travis.yml +4 -0
- data/README.md +3 -1
- data/Rakefile +6 -0
- data/lib/linkedin/api.rb +2 -0
- data/lib/linkedin/api/companies.rb +8 -2
- data/lib/linkedin/api/industries.rb +147 -147
- data/lib/linkedin/api/network_updates.rb +17 -0
- data/lib/linkedin/api/profiles.rb +4 -0
- data/lib/linkedin/base.rb +6 -3
- data/lib/linkedin/client.rb +5 -3
- data/lib/linkedin/configuration.rb +2 -2
- data/lib/linkedin/profile.rb +5 -6
- data/lib/linkedin/version.rb +1 -1
- data/linkedin.gemspec +2 -1
- data/spec/api/companies_spec.rb +20 -11
- data/spec/api/groups_spec.rb +3 -0
- data/spec/api/jobs_spec.rb +3 -0
- data/spec/api/network_updates_spec.rb +32 -0
- data/spec/api/profiles_spec.rb +36 -26
- data/spec/faraday_middleware/linkedin_error_response_spec.rb +10 -4
- data/spec/fixtures/requests/access_token.yml +55 -22
- data/spec/fixtures/requests/companies.yml +258 -0
- data/spec/fixtures/requests/invalid.yml +51 -0
- data/spec/fixtures/requests/network_updates.yml +743 -0
- data/spec/fixtures/requests/profiles.yml +201 -0
- data/spec/spec_helper.rb +15 -5
- data/spec/test_app.yml +3 -0
- metadata +55 -30
- data/spec/fixtures/requests/company.yml +0 -81
@@ -50,4 +50,55 @@ http_interactions:
|
|
50
50
|
}
|
51
51
|
http_version:
|
52
52
|
recorded_at: Sat, 21 Sep 2013 15:36:08 GMT
|
53
|
+
- request:
|
54
|
+
method: get
|
55
|
+
uri: https://api.linkedin.com/v1/people/~?oauth2_access_token=AQXjfyOrBFhWJIkcBXi1ubzLZQhQc2CVGoXdgo2I6wirbJejAwhXDIYu-3gnADeNVeRey_m9jvohTG9rAjFhzakL7UkTbXIBC_GlwTHhhUWHTXzWdRgtVu-al9BQ3bDGCkbsaiCJySOkUn5YFPJE-7eFkA5MwZi_4PJZoep0D80yI8svMkk&format=json
|
56
|
+
body:
|
57
|
+
encoding: US-ASCII
|
58
|
+
string: ''
|
59
|
+
headers:
|
60
|
+
User-Agent:
|
61
|
+
- Faraday v0.8.8
|
62
|
+
response:
|
63
|
+
status:
|
64
|
+
code: 200
|
65
|
+
message:
|
66
|
+
headers:
|
67
|
+
server:
|
68
|
+
- Apache-Coyote/1.1
|
69
|
+
x-li-request-id:
|
70
|
+
- 0V741GCJOT
|
71
|
+
vary:
|
72
|
+
- '*'
|
73
|
+
x-li-format:
|
74
|
+
- json
|
75
|
+
content-type:
|
76
|
+
- application/json;charset=UTF-8
|
77
|
+
date:
|
78
|
+
- Sun, 13 Oct 2013 18:48:52 GMT
|
79
|
+
x-li-fabric:
|
80
|
+
- PROD-ELA4
|
81
|
+
access-control-allow-origin:
|
82
|
+
- https://www.linkedin.com
|
83
|
+
age:
|
84
|
+
- '0'
|
85
|
+
transfer-encoding:
|
86
|
+
- chunked
|
87
|
+
connection:
|
88
|
+
- keep-alive
|
89
|
+
x-li-pop:
|
90
|
+
- PROD-ELA4
|
91
|
+
x-li-uuid:
|
92
|
+
- GMVMydq/LBMQae46/yoAAA==
|
93
|
+
body:
|
94
|
+
encoding: UTF-8
|
95
|
+
string: |-
|
96
|
+
{
|
97
|
+
"firstName": "Josh",
|
98
|
+
"headline": "Test Engineer at LinkedIn2 Gem",
|
99
|
+
"lastName": "Testjordan",
|
100
|
+
"siteStandardProfileRequest": {"url": "http://www.linkedin.com/profile/view?id=292221312&authType=name&authToken=lTbb&trk=api*a3296321*s3370311*"}
|
101
|
+
}
|
102
|
+
http_version:
|
103
|
+
recorded_at: Sun, 13 Oct 2013 18:48:56 GMT
|
53
104
|
recorded_with: VCR 2.5.0
|
@@ -0,0 +1,743 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://api.linkedin.com/v1/people/~/network/updates?oauth2_access_token=AQUJwEF40pJUbVxsW_mujQ3QCiXvlTnMFk55SlfVPYRcAPdsn1oE1Hm8Ldlc61o57k96i04ufG81KFdPJIOSJswXsGyZ0tk9IMZea8sfNXMGMnZgikQJUQPkmRVYVw9BP1qH9tp7hJF32DQtzkBB_NE8xPASPVgXVWbbntChGyYqqDvF1p8&format=json
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
User-Agent:
|
11
|
+
- Faraday v0.8.8
|
12
|
+
response:
|
13
|
+
status:
|
14
|
+
code: 200
|
15
|
+
message:
|
16
|
+
headers:
|
17
|
+
server:
|
18
|
+
- Apache-Coyote/1.1
|
19
|
+
x-li-request-id:
|
20
|
+
- 5AV2JQKV2I
|
21
|
+
vary:
|
22
|
+
- '*'
|
23
|
+
x-li-format:
|
24
|
+
- json
|
25
|
+
content-type:
|
26
|
+
- application/json;charset=UTF-8
|
27
|
+
date:
|
28
|
+
- Sun, 13 Oct 2013 23:16:39 GMT
|
29
|
+
x-li-fabric:
|
30
|
+
- PROD-ELA4
|
31
|
+
access-control-allow-origin:
|
32
|
+
- https://www.linkedin.com
|
33
|
+
age:
|
34
|
+
- '1'
|
35
|
+
transfer-encoding:
|
36
|
+
- chunked
|
37
|
+
connection:
|
38
|
+
- keep-alive
|
39
|
+
x-li-pop:
|
40
|
+
- PROD-ELA4
|
41
|
+
x-li-uuid:
|
42
|
+
- qFtSpnfOLBOwaXMbLSsAAA==
|
43
|
+
body:
|
44
|
+
encoding: UTF-8
|
45
|
+
string: |-
|
46
|
+
{
|
47
|
+
"_count": 10,
|
48
|
+
"_start": 0,
|
49
|
+
"_total": 13,
|
50
|
+
"values": [
|
51
|
+
{
|
52
|
+
"isCommentable": false,
|
53
|
+
"isLikable": false,
|
54
|
+
"timestamp": 1381695002000,
|
55
|
+
"updateContent": {"person": {
|
56
|
+
"apiStandardProfileRequest": {
|
57
|
+
"headers": {
|
58
|
+
"_total": 1,
|
59
|
+
"values": [{
|
60
|
+
"name": "x-li-auth-token",
|
61
|
+
"value": "name:Dack"
|
62
|
+
}]
|
63
|
+
},
|
64
|
+
"url": "http://api.linkedin.com/v1/people/mbAZ4HR8RV"
|
65
|
+
},
|
66
|
+
"firstName": "Josh",
|
67
|
+
"headline": "No-bullshit Software Engineer",
|
68
|
+
"id": "mbAZ4HR8RV",
|
69
|
+
"lastName": "Jordan",
|
70
|
+
"pictureUrl": "http://m.c.lnkd.licdn.com/mpr/mprx/0_tK6jMqPfpQ370lofKczaMnrmy_kxjqUfrB-CMBig_LK7GKu7On9AccBPtmX8Y1siPPXinrgl7GAr",
|
71
|
+
"siteStandardProfileRequest": {"url": "http://www.linkedin.com/profile/view?id=18939563&authType=name&authToken=Dack&trk=api*a3296321*s3370311*"}
|
72
|
+
}},
|
73
|
+
"updateKey": "NCON-18939563-8e591d54*35afb*34269*38933*301715ac5349d-*1",
|
74
|
+
"updateType": "NCON"
|
75
|
+
},
|
76
|
+
{
|
77
|
+
"isCommentable": false,
|
78
|
+
"isLikable": false,
|
79
|
+
"timestamp": 1381693616000,
|
80
|
+
"updateContent": {"person": {
|
81
|
+
"apiStandardProfileRequest": {
|
82
|
+
"headers": {
|
83
|
+
"_total": 1,
|
84
|
+
"values": [{
|
85
|
+
"name": "x-li-auth-token",
|
86
|
+
"value": "name:24s3"
|
87
|
+
}]
|
88
|
+
},
|
89
|
+
"url": "http://api.linkedin.com/v1/people/4eTIydMs1T"
|
90
|
+
},
|
91
|
+
"firstName": "Bob",
|
92
|
+
"headline": "Guy at EverTrue",
|
93
|
+
"id": "4eTIydMs1T",
|
94
|
+
"lastName": "Breznak",
|
95
|
+
"pictureUrl": "http://m.c.lnkd.licdn.com/mpr/mprx/0_zR-8K5tqrNEyhBCYz0APKFGVrqDrGlCYcx60KFPQftJhjzvOMjGuObFeOJSfTn_tq4rYx8SQ5fvK",
|
96
|
+
"siteStandardProfileRequest": {"url": "http://www.linkedin.com/profile/view?id=28903483&authType=name&authToken=24s3&trk=api*a3296321*s3370311*"}
|
97
|
+
}},
|
98
|
+
"updateKey": "NCON-28903483-378380f9*38bd6*347e5*3b636*38c5589b6692d-*1",
|
99
|
+
"updateType": "NCON"
|
100
|
+
},
|
101
|
+
{
|
102
|
+
"isCommentable": true,
|
103
|
+
"isLikable": true,
|
104
|
+
"isLiked": true,
|
105
|
+
"likes": {
|
106
|
+
"_total": 1,
|
107
|
+
"values": [{"person": {
|
108
|
+
"firstName": "Josh",
|
109
|
+
"headline": "Test Engineer at LinkedIn2 Gem",
|
110
|
+
"id": "cDmdM9cb0H",
|
111
|
+
"lastName": "Testjordan"
|
112
|
+
}}]
|
113
|
+
},
|
114
|
+
"numLikes": 1,
|
115
|
+
"timestamp": 1381419977401,
|
116
|
+
"updateComments": {
|
117
|
+
"_total": 1,
|
118
|
+
"values": [{
|
119
|
+
"comment": "Whaaaat",
|
120
|
+
"id": 5795295755790999552,
|
121
|
+
"person": {
|
122
|
+
"apiStandardProfileRequest": {
|
123
|
+
"headers": {
|
124
|
+
"_total": 1,
|
125
|
+
"values": [{
|
126
|
+
"name": "x-li-auth-token",
|
127
|
+
"value": "name:lTbb"
|
128
|
+
}]
|
129
|
+
},
|
130
|
+
"url": "http://api.linkedin.com/v1/people/cDmdM9cb0H"
|
131
|
+
},
|
132
|
+
"firstName": "Josh",
|
133
|
+
"headline": "Test Engineer at LinkedIn2 Gem",
|
134
|
+
"id": "cDmdM9cb0H",
|
135
|
+
"lastName": "Testjordan",
|
136
|
+
"siteStandardProfileRequest": {"url": "http://www.linkedin.com/profile/view?id=292221312&authType=name&authToken=lTbb&trk=api*a3296321*s3370311*"}
|
137
|
+
},
|
138
|
+
"sequenceNumber": 1,
|
139
|
+
"timestamp": 1381706181420
|
140
|
+
}]
|
141
|
+
},
|
142
|
+
"updateContent": {"person": {
|
143
|
+
"apiStandardProfileRequest": {
|
144
|
+
"headers": {
|
145
|
+
"_total": 1,
|
146
|
+
"values": [{
|
147
|
+
"name": "x-li-auth-token",
|
148
|
+
"value": "name:Dack"
|
149
|
+
}]
|
150
|
+
},
|
151
|
+
"url": "http://api.linkedin.com/v1/people/mbAZ4HR8RV"
|
152
|
+
},
|
153
|
+
"firstName": "Josh",
|
154
|
+
"headline": "No-bullshit Software Engineer",
|
155
|
+
"id": "mbAZ4HR8RV",
|
156
|
+
"lastName": "Jordan",
|
157
|
+
"pictureUrl": "http://m.c.lnkd.licdn.com/mpr/mprx/0_tK6jMqPfpQ370lofKczaMnrmy_kxjqUfrB-CMBig_LK7GKu7On9AccBPtmX8Y1siPPXinrgl7GAr",
|
158
|
+
"siteStandardProfileRequest": {"url": "http://www.linkedin.com/profile/view?id=18939563&authType=name&authToken=Dack&trk=api*a3296321*s3370311*"},
|
159
|
+
"skills": {
|
160
|
+
"_count": 2,
|
161
|
+
"values": [
|
162
|
+
{"skill": {"name": "OOP"}},
|
163
|
+
{"skill": {"name": "Distributed Systems"}}
|
164
|
+
]
|
165
|
+
}
|
166
|
+
}},
|
167
|
+
"updateKey": "PROF-18939563-5794095336964247552-*1",
|
168
|
+
"updateType": "PROF",
|
169
|
+
"updatedFields": {
|
170
|
+
"_count": 1,
|
171
|
+
"values": [{"name": "person/skills"}]
|
172
|
+
}
|
173
|
+
},
|
174
|
+
{
|
175
|
+
"isCommentable": false,
|
176
|
+
"isLikable": false,
|
177
|
+
"timestamp": 1381359223000,
|
178
|
+
"updateContent": {"person": {
|
179
|
+
"apiStandardProfileRequest": {
|
180
|
+
"headers": {
|
181
|
+
"_total": 1,
|
182
|
+
"values": [{
|
183
|
+
"name": "x-li-auth-token",
|
184
|
+
"value": "name:Dack"
|
185
|
+
}]
|
186
|
+
},
|
187
|
+
"url": "http://api.linkedin.com/v1/people/mbAZ4HR8RV"
|
188
|
+
},
|
189
|
+
"connections": {
|
190
|
+
"_total": 1,
|
191
|
+
"values": [{
|
192
|
+
"apiStandardProfileRequest": {
|
193
|
+
"headers": {
|
194
|
+
"_total": 1,
|
195
|
+
"values": [{
|
196
|
+
"name": "x-li-auth-token",
|
197
|
+
"value": "name:HNEa"
|
198
|
+
}]
|
199
|
+
},
|
200
|
+
"url": "http://api.linkedin.com/v1/people/eQwOZJj2ww"
|
201
|
+
},
|
202
|
+
"firstName": "Christopher",
|
203
|
+
"headline": "Software Engineer",
|
204
|
+
"id": "eQwOZJj2ww",
|
205
|
+
"lastName": "LaPointe",
|
206
|
+
"pictureUrl": "http://m.c.lnkd.licdn.com/mpr/mprx/0_ZgfI5GCs5EsC3Wpz4pxN5TNBL7Y7_Wgzs0RN5T5WVdExyDEvqU0FI3AbICOKhmyJMYDzE6U3gnWZ",
|
207
|
+
"siteStandardProfileRequest": {"url": "http://www.linkedin.com/profile/view?id=129352139&authType=name&authToken=HNEa&trk=api*a3296321*s3370311*"}
|
208
|
+
}]
|
209
|
+
},
|
210
|
+
"firstName": "Josh",
|
211
|
+
"headline": "No-bullshit Software Engineer",
|
212
|
+
"id": "mbAZ4HR8RV",
|
213
|
+
"lastName": "Jordan",
|
214
|
+
"pictureUrl": "http://m.c.lnkd.licdn.com/mpr/mprx/0_tK6jMqPfpQ370lofKczaMnrmy_kxjqUfrB-CMBig_LK7GKu7On9AccBPtmX8Y1siPPXinrgl7GAr",
|
215
|
+
"siteStandardProfileRequest": {"url": "http://www.linkedin.com/profile/view?id=18939563&authType=name&authToken=Dack&trk=api*a3296321*s3370311*"}
|
216
|
+
}},
|
217
|
+
"updateKey": "CONN-18939563-*2-*1",
|
218
|
+
"updateType": "CONN"
|
219
|
+
},
|
220
|
+
{
|
221
|
+
"isCommentable": false,
|
222
|
+
"isLikable": false,
|
223
|
+
"timestamp": 1381243641000,
|
224
|
+
"updateContent": {"person": {
|
225
|
+
"apiStandardProfileRequest": {
|
226
|
+
"headers": {
|
227
|
+
"_total": 1,
|
228
|
+
"values": [{
|
229
|
+
"name": "x-li-auth-token",
|
230
|
+
"value": "name:24s3"
|
231
|
+
}]
|
232
|
+
},
|
233
|
+
"url": "http://api.linkedin.com/v1/people/4eTIydMs1T"
|
234
|
+
},
|
235
|
+
"connections": {
|
236
|
+
"_total": 1,
|
237
|
+
"values": [{
|
238
|
+
"apiStandardProfileRequest": {
|
239
|
+
"headers": {
|
240
|
+
"_total": 1,
|
241
|
+
"values": [{
|
242
|
+
"name": "x-li-auth-token",
|
243
|
+
"value": "name:BLmC"
|
244
|
+
}]
|
245
|
+
},
|
246
|
+
"url": "http://api.linkedin.com/v1/people/0nY7GzaRyF"
|
247
|
+
},
|
248
|
+
"firstName": "Nick",
|
249
|
+
"headline": "Application Analyst 1 at Lifespan",
|
250
|
+
"id": "0nY7GzaRyF",
|
251
|
+
"lastName": "Bebel",
|
252
|
+
"pictureUrl": "http://m.c.lnkd.licdn.com/mpr/mprx/0_jbmxXPYjVoL3ziMn0hO2XrH14f-_vQMnxLshXrMfFo6PEGm9lTYPEKD39Tty9TZspkuTIBw4-fTh",
|
253
|
+
"siteStandardProfileRequest": {"url": "http://www.linkedin.com/profile/view?id=28903441&authType=name&authToken=BLmC&trk=api*a3296321*s3370311*"}
|
254
|
+
}]
|
255
|
+
},
|
256
|
+
"firstName": "Bob",
|
257
|
+
"headline": "Guy at EverTrue",
|
258
|
+
"id": "4eTIydMs1T",
|
259
|
+
"lastName": "Breznak",
|
260
|
+
"pictureUrl": "http://m.c.lnkd.licdn.com/mpr/mprx/0_zR-8K5tqrNEyhBCYz0APKFGVrqDrGlCYcx60KFPQftJhjzvOMjGuObFeOJSfTn_tq4rYx8SQ5fvK",
|
261
|
+
"siteStandardProfileRequest": {"url": "http://www.linkedin.com/profile/view?id=28903483&authType=name&authToken=24s3&trk=api*a3296321*s3370311*"}
|
262
|
+
}},
|
263
|
+
"updateKey": "CONN-28903483-*2-*1",
|
264
|
+
"updateType": "CONN"
|
265
|
+
},
|
266
|
+
{
|
267
|
+
"isCommentable": false,
|
268
|
+
"isLikable": false,
|
269
|
+
"timestamp": 1380762807000,
|
270
|
+
"updateContent": {"person": {
|
271
|
+
"apiStandardProfileRequest": {
|
272
|
+
"headers": {
|
273
|
+
"_total": 1,
|
274
|
+
"values": [{
|
275
|
+
"name": "x-li-auth-token",
|
276
|
+
"value": "name:24s3"
|
277
|
+
}]
|
278
|
+
},
|
279
|
+
"url": "http://api.linkedin.com/v1/people/4eTIydMs1T"
|
280
|
+
},
|
281
|
+
"connections": {
|
282
|
+
"_total": 1,
|
283
|
+
"values": [{
|
284
|
+
"apiStandardProfileRequest": {
|
285
|
+
"headers": {
|
286
|
+
"_total": 1,
|
287
|
+
"values": [{
|
288
|
+
"name": "x-li-auth-token",
|
289
|
+
"value": "name:1Z0S"
|
290
|
+
}]
|
291
|
+
},
|
292
|
+
"url": "http://api.linkedin.com/v1/people/Uj8HdWXG29"
|
293
|
+
},
|
294
|
+
"firstName": "Alexandra",
|
295
|
+
"headline": "UX Designer at PayPal Media Network",
|
296
|
+
"id": "Uj8HdWXG29",
|
297
|
+
"lastName": "Moran",
|
298
|
+
"pictureUrl": "http://m.c.lnkd.licdn.com/mpr/mprx/0_-HOmp-7NvtbyFCAiy2ylpKS4cBNt53AiKEoAplgLHN8Cs56_YaaCtAdIJ0qS66rf1IpK19_Nalma",
|
299
|
+
"siteStandardProfileRequest": {"url": "http://www.linkedin.com/profile/view?id=48426136&authType=name&authToken=1Z0S&trk=api*a3296321*s3370311*"}
|
300
|
+
}]
|
301
|
+
},
|
302
|
+
"firstName": "Bob",
|
303
|
+
"headline": "Guy at EverTrue",
|
304
|
+
"id": "4eTIydMs1T",
|
305
|
+
"lastName": "Breznak",
|
306
|
+
"pictureUrl": "http://m.c.lnkd.licdn.com/mpr/mprx/0_zR-8K5tqrNEyhBCYz0APKFGVrqDrGlCYcx60KFPQftJhjzvOMjGuObFeOJSfTn_tq4rYx8SQ5fvK",
|
307
|
+
"siteStandardProfileRequest": {"url": "http://www.linkedin.com/profile/view?id=28903483&authType=name&authToken=24s3&trk=api*a3296321*s3370311*"}
|
308
|
+
}},
|
309
|
+
"updateKey": "CONN-28903483-*2-*1",
|
310
|
+
"updateType": "CONN"
|
311
|
+
},
|
312
|
+
{
|
313
|
+
"isCommentable": false,
|
314
|
+
"isLikable": false,
|
315
|
+
"timestamp": 1380636118000,
|
316
|
+
"updateContent": {"person": {
|
317
|
+
"apiStandardProfileRequest": {
|
318
|
+
"headers": {
|
319
|
+
"_total": 1,
|
320
|
+
"values": [{
|
321
|
+
"name": "x-li-auth-token",
|
322
|
+
"value": "name:24s3"
|
323
|
+
}]
|
324
|
+
},
|
325
|
+
"url": "http://api.linkedin.com/v1/people/4eTIydMs1T"
|
326
|
+
},
|
327
|
+
"connections": {
|
328
|
+
"_total": 1,
|
329
|
+
"values": [{
|
330
|
+
"apiStandardProfileRequest": {
|
331
|
+
"headers": {
|
332
|
+
"_total": 1,
|
333
|
+
"values": [{
|
334
|
+
"name": "x-li-auth-token",
|
335
|
+
"value": "name:6S_r"
|
336
|
+
}]
|
337
|
+
},
|
338
|
+
"url": "http://api.linkedin.com/v1/people/cT-XE1up60"
|
339
|
+
},
|
340
|
+
"firstName": "Slava",
|
341
|
+
"headline": "Co-founder bikeGOTHAM.com, Real Estate Investor",
|
342
|
+
"id": "cT-XE1up60",
|
343
|
+
"lastName": "Menn",
|
344
|
+
"pictureUrl": "http://m.c.lnkd.licdn.com/mpr/mprx/0_9G8uJ8omlGSSvvxG956PJixtPhVjzvOGN8N1JiSauLaDoAdCsXK8B_JhgmsGnt0ac3Ct9kPQ8umx",
|
345
|
+
"siteStandardProfileRequest": {"url": "http://www.linkedin.com/profile/view?id=5589763&authType=name&authToken=6S_r&trk=api*a3296321*s3370311*"}
|
346
|
+
}]
|
347
|
+
},
|
348
|
+
"firstName": "Bob",
|
349
|
+
"headline": "Guy at EverTrue",
|
350
|
+
"id": "4eTIydMs1T",
|
351
|
+
"lastName": "Breznak",
|
352
|
+
"pictureUrl": "http://m.c.lnkd.licdn.com/mpr/mprx/0_zR-8K5tqrNEyhBCYz0APKFGVrqDrGlCYcx60KFPQftJhjzvOMjGuObFeOJSfTn_tq4rYx8SQ5fvK",
|
353
|
+
"siteStandardProfileRequest": {"url": "http://www.linkedin.com/profile/view?id=28903483&authType=name&authToken=24s3&trk=api*a3296321*s3370311*"}
|
354
|
+
}},
|
355
|
+
"updateKey": "CONN-28903483-*2-*1",
|
356
|
+
"updateType": "CONN"
|
357
|
+
},
|
358
|
+
{
|
359
|
+
"isCommentable": false,
|
360
|
+
"isLikable": false,
|
361
|
+
"timestamp": 1380584638000,
|
362
|
+
"updateContent": {"person": {
|
363
|
+
"apiStandardProfileRequest": {
|
364
|
+
"headers": {
|
365
|
+
"_total": 1,
|
366
|
+
"values": [{
|
367
|
+
"name": "x-li-auth-token",
|
368
|
+
"value": "name:24s3"
|
369
|
+
}]
|
370
|
+
},
|
371
|
+
"url": "http://api.linkedin.com/v1/people/4eTIydMs1T"
|
372
|
+
},
|
373
|
+
"connections": {
|
374
|
+
"_total": 1,
|
375
|
+
"values": [{
|
376
|
+
"apiStandardProfileRequest": {
|
377
|
+
"headers": {
|
378
|
+
"_total": 1,
|
379
|
+
"values": [{
|
380
|
+
"name": "x-li-auth-token",
|
381
|
+
"value": "name:nLJu"
|
382
|
+
}]
|
383
|
+
},
|
384
|
+
"url": "http://api.linkedin.com/v1/people/Y3O2vpIsLb"
|
385
|
+
},
|
386
|
+
"firstName": "Gabriel",
|
387
|
+
"headline": "Enthusiastic book reader and morning jogger, CEO",
|
388
|
+
"id": "Y3O2vpIsLb",
|
389
|
+
"lastName": "Blanchet",
|
390
|
+
"pictureUrl": "http://m.c.lnkd.licdn.com/mpr/mprx/0_fDcXEjwwhWlLo0uXfwbUEYEHCanoeyuXTWiUEYWcgDCVB4Uk_IFHXOjJuQ9zIUSHaazV5JctWX_5",
|
391
|
+
"siteStandardProfileRequest": {"url": "http://www.linkedin.com/profile/view?id=64337773&authType=name&authToken=nLJu&trk=api*a3296321*s3370311*"}
|
392
|
+
}]
|
393
|
+
},
|
394
|
+
"firstName": "Bob",
|
395
|
+
"headline": "Guy at EverTrue",
|
396
|
+
"id": "4eTIydMs1T",
|
397
|
+
"lastName": "Breznak",
|
398
|
+
"pictureUrl": "http://m.c.lnkd.licdn.com/mpr/mprx/0_zR-8K5tqrNEyhBCYz0APKFGVrqDrGlCYcx60KFPQftJhjzvOMjGuObFeOJSfTn_tq4rYx8SQ5fvK",
|
399
|
+
"siteStandardProfileRequest": {"url": "http://www.linkedin.com/profile/view?id=28903483&authType=name&authToken=24s3&trk=api*a3296321*s3370311*"}
|
400
|
+
}},
|
401
|
+
"updateKey": "CONN-28903483-*2-*1",
|
402
|
+
"updateType": "CONN"
|
403
|
+
},
|
404
|
+
{
|
405
|
+
"isCommentable": false,
|
406
|
+
"isLikable": false,
|
407
|
+
"timestamp": 1380584603000,
|
408
|
+
"updateContent": {"person": {
|
409
|
+
"apiStandardProfileRequest": {
|
410
|
+
"headers": {
|
411
|
+
"_total": 1,
|
412
|
+
"values": [{
|
413
|
+
"name": "x-li-auth-token",
|
414
|
+
"value": "name:24s3"
|
415
|
+
}]
|
416
|
+
},
|
417
|
+
"url": "http://api.linkedin.com/v1/people/4eTIydMs1T"
|
418
|
+
},
|
419
|
+
"connections": {
|
420
|
+
"_total": 1,
|
421
|
+
"values": [{
|
422
|
+
"apiStandardProfileRequest": {
|
423
|
+
"headers": {
|
424
|
+
"_total": 1,
|
425
|
+
"values": [{
|
426
|
+
"name": "x-li-auth-token",
|
427
|
+
"value": "name:eOI_"
|
428
|
+
}]
|
429
|
+
},
|
430
|
+
"url": "http://api.linkedin.com/v1/people/xLHgsOPJ2M"
|
431
|
+
},
|
432
|
+
"firstName": "Michael",
|
433
|
+
"headline": "Northeastern University Finance & Music Industry Graduate seeking Finance/Real Estate **career opportunities**",
|
434
|
+
"id": "xLHgsOPJ2M",
|
435
|
+
"lastName": "Malmstone",
|
436
|
+
"pictureUrl": "http://m.c.lnkd.licdn.com/mpr/mprx/0_ZSvRnX4kmFVDW4RYZ7LHnQsQubD7WORYVfTknbWvPkJxns2Oqw5c4FjUCfSKoJVtMmBLMhRQnogM",
|
437
|
+
"siteStandardProfileRequest": {"url": "http://www.linkedin.com/profile/view?id=108343597&authType=name&authToken=eOI_&trk=api*a3296321*s3370311*"}
|
438
|
+
}]
|
439
|
+
},
|
440
|
+
"firstName": "Bob",
|
441
|
+
"headline": "Guy at EverTrue",
|
442
|
+
"id": "4eTIydMs1T",
|
443
|
+
"lastName": "Breznak",
|
444
|
+
"pictureUrl": "http://m.c.lnkd.licdn.com/mpr/mprx/0_zR-8K5tqrNEyhBCYz0APKFGVrqDrGlCYcx60KFPQftJhjzvOMjGuObFeOJSfTn_tq4rYx8SQ5fvK",
|
445
|
+
"siteStandardProfileRequest": {"url": "http://www.linkedin.com/profile/view?id=28903483&authType=name&authToken=24s3&trk=api*a3296321*s3370311*"}
|
446
|
+
}},
|
447
|
+
"updateKey": "CONN-28903483-*2-*1",
|
448
|
+
"updateType": "CONN"
|
449
|
+
},
|
450
|
+
{
|
451
|
+
"isCommentable": false,
|
452
|
+
"isLikable": false,
|
453
|
+
"timestamp": 1380213420000,
|
454
|
+
"updateContent": {"person": {
|
455
|
+
"apiStandardProfileRequest": {
|
456
|
+
"headers": {
|
457
|
+
"_total": 1,
|
458
|
+
"values": [{
|
459
|
+
"name": "x-li-auth-token",
|
460
|
+
"value": "name:Dack"
|
461
|
+
}]
|
462
|
+
},
|
463
|
+
"url": "http://api.linkedin.com/v1/people/mbAZ4HR8RV"
|
464
|
+
},
|
465
|
+
"connections": {
|
466
|
+
"_total": 1,
|
467
|
+
"values": [{
|
468
|
+
"apiStandardProfileRequest": {
|
469
|
+
"headers": {
|
470
|
+
"_total": 1,
|
471
|
+
"values": [{
|
472
|
+
"name": "x-li-auth-token",
|
473
|
+
"value": "name:75Di"
|
474
|
+
}]
|
475
|
+
},
|
476
|
+
"url": "http://api.linkedin.com/v1/people/hCA94wLLMf"
|
477
|
+
},
|
478
|
+
"firstName": "Jaclyn",
|
479
|
+
"headline": "Manager, HR Partnerships at Vistaprint",
|
480
|
+
"id": "hCA94wLLMf",
|
481
|
+
"lastName": "Matarazzo, PHR",
|
482
|
+
"pictureUrl": "http://m.c.lnkd.licdn.com/mpr/mprx/0_U-ft0k91NBf21LBmJrp306BOZ9wmPLbmJ1RD06b7b1xYuTKacq0YlQ1TnZIlrGQCsADurTvCTTc6",
|
483
|
+
"siteStandardProfileRequest": {"url": "http://www.linkedin.com/profile/view?id=4293432&authType=name&authToken=75Di&trk=api*a3296321*s3370311*"}
|
484
|
+
}]
|
485
|
+
},
|
486
|
+
"firstName": "Josh",
|
487
|
+
"headline": "No-bullshit Software Engineer",
|
488
|
+
"id": "mbAZ4HR8RV",
|
489
|
+
"lastName": "Jordan",
|
490
|
+
"pictureUrl": "http://m.c.lnkd.licdn.com/mpr/mprx/0_tK6jMqPfpQ370lofKczaMnrmy_kxjqUfrB-CMBig_LK7GKu7On9AccBPtmX8Y1siPPXinrgl7GAr",
|
491
|
+
"siteStandardProfileRequest": {"url": "http://www.linkedin.com/profile/view?id=18939563&authType=name&authToken=Dack&trk=api*a3296321*s3370311*"}
|
492
|
+
}},
|
493
|
+
"updateKey": "CONN-18939563-*2-*1",
|
494
|
+
"updateType": "CONN"
|
495
|
+
}
|
496
|
+
]
|
497
|
+
}
|
498
|
+
http_version:
|
499
|
+
recorded_at: Sun, 13 Oct 2013 23:16:44 GMT
|
500
|
+
- request:
|
501
|
+
method: get
|
502
|
+
uri: https://api.linkedin.com/v1/people/~/network/updates/key=PROF-18939563-5794095336964247552-*1?oauth2_access_token=AQUJwEF40pJUbVxsW_mujQ3QCiXvlTnMFk55SlfVPYRcAPdsn1oE1Hm8Ldlc61o57k96i04ufG81KFdPJIOSJswXsGyZ0tk9IMZea8sfNXMGMnZgikQJUQPkmRVYVw9BP1qH9tp7hJF32DQtzkBB_NE8xPASPVgXVWbbntChGyYqqDvF1p8&format=json
|
503
|
+
body:
|
504
|
+
encoding: US-ASCII
|
505
|
+
string: ''
|
506
|
+
headers:
|
507
|
+
User-Agent:
|
508
|
+
- Faraday v0.8.8
|
509
|
+
response:
|
510
|
+
status:
|
511
|
+
code: 200
|
512
|
+
message:
|
513
|
+
headers:
|
514
|
+
server:
|
515
|
+
- Apache-Coyote/1.1
|
516
|
+
x-li-request-id:
|
517
|
+
- 29Q4VV0LNC
|
518
|
+
vary:
|
519
|
+
- '*'
|
520
|
+
x-li-format:
|
521
|
+
- json
|
522
|
+
content-type:
|
523
|
+
- application/json;charset=UTF-8
|
524
|
+
date:
|
525
|
+
- Sun, 13 Oct 2013 23:18:38 GMT
|
526
|
+
x-li-fabric:
|
527
|
+
- PROD-ELA4
|
528
|
+
access-control-allow-origin:
|
529
|
+
- https://www.linkedin.com
|
530
|
+
age:
|
531
|
+
- '1'
|
532
|
+
transfer-encoding:
|
533
|
+
- chunked
|
534
|
+
connection:
|
535
|
+
- keep-alive
|
536
|
+
x-li-pop:
|
537
|
+
- PROD-ELA4
|
538
|
+
x-li-uuid:
|
539
|
+
- iO9CqJPOLBNwzB2JRisAAA==
|
540
|
+
body:
|
541
|
+
encoding: UTF-8
|
542
|
+
string: |-
|
543
|
+
{
|
544
|
+
"isCommentable": true,
|
545
|
+
"isLikable": true,
|
546
|
+
"isLiked": true,
|
547
|
+
"likes": {
|
548
|
+
"_total": 1,
|
549
|
+
"values": [{"person": {
|
550
|
+
"firstName": "Josh",
|
551
|
+
"headline": "Test Engineer at LinkedIn2 Gem",
|
552
|
+
"id": "cDmdM9cb0H",
|
553
|
+
"lastName": "Testjordan"
|
554
|
+
}}]
|
555
|
+
},
|
556
|
+
"numLikes": 1,
|
557
|
+
"timestamp": 1381419977401,
|
558
|
+
"updateComments": {
|
559
|
+
"_total": 1,
|
560
|
+
"values": [{
|
561
|
+
"comment": "Whaaaat",
|
562
|
+
"id": 5795295755790999552,
|
563
|
+
"person": {
|
564
|
+
"apiStandardProfileRequest": {
|
565
|
+
"headers": {
|
566
|
+
"_total": 1,
|
567
|
+
"values": [{
|
568
|
+
"name": "x-li-auth-token",
|
569
|
+
"value": "name:lTbb"
|
570
|
+
}]
|
571
|
+
},
|
572
|
+
"url": "http://api.linkedin.com/v1/people/cDmdM9cb0H"
|
573
|
+
},
|
574
|
+
"firstName": "Josh",
|
575
|
+
"headline": "Test Engineer at LinkedIn2 Gem",
|
576
|
+
"id": "cDmdM9cb0H",
|
577
|
+
"lastName": "Testjordan",
|
578
|
+
"siteStandardProfileRequest": {"url": "http://www.linkedin.com/profile/view?id=292221312&authType=name&authToken=lTbb&trk=api*a3296321*s3370311*"}
|
579
|
+
},
|
580
|
+
"sequenceNumber": 1,
|
581
|
+
"timestamp": 1381706181420
|
582
|
+
}]
|
583
|
+
},
|
584
|
+
"updateContent": {"person": {
|
585
|
+
"apiStandardProfileRequest": {
|
586
|
+
"headers": {
|
587
|
+
"_total": 1,
|
588
|
+
"values": [{
|
589
|
+
"name": "x-li-auth-token",
|
590
|
+
"value": "name:Dack"
|
591
|
+
}]
|
592
|
+
},
|
593
|
+
"url": "http://api.linkedin.com/v1/people/mbAZ4HR8RV"
|
594
|
+
},
|
595
|
+
"firstName": "Josh",
|
596
|
+
"headline": "No-bullshit Software Engineer",
|
597
|
+
"id": "mbAZ4HR8RV",
|
598
|
+
"lastName": "Jordan",
|
599
|
+
"pictureUrl": "http://m.c.lnkd.licdn.com/mpr/mprx/0_tK6jMqPfpQ370lofKczaMnrmy_kxjqUfrB-CMBig_LK7GKu7On9AccBPtmX8Y1siPPXinrgl7GAr",
|
600
|
+
"siteStandardProfileRequest": {"url": "http://www.linkedin.com/profile/view?id=18939563&authType=name&authToken=Dack&trk=api*a3296321*s3370311*"},
|
601
|
+
"skills": {
|
602
|
+
"_count": 2,
|
603
|
+
"values": [
|
604
|
+
{"skill": {"name": "OOP"}},
|
605
|
+
{"skill": {"name": "Distributed Systems"}}
|
606
|
+
]
|
607
|
+
}
|
608
|
+
}},
|
609
|
+
"updateKey": "PROF-18939563-5794095336964247552-*1",
|
610
|
+
"updateType": "PROF",
|
611
|
+
"updatedFields": {
|
612
|
+
"_count": 1,
|
613
|
+
"values": [{"name": "person/skills"}]
|
614
|
+
}
|
615
|
+
}
|
616
|
+
http_version:
|
617
|
+
recorded_at: Sun, 13 Oct 2013 23:18:45 GMT
|
618
|
+
- request:
|
619
|
+
method: get
|
620
|
+
uri: https://api.linkedin.com/v1/people/~/network/updates/key=PROF-18939563-5794095336964247552-*1/update-comments?oauth2_access_token=AQUJwEF40pJUbVxsW_mujQ3QCiXvlTnMFk55SlfVPYRcAPdsn1oE1Hm8Ldlc61o57k96i04ufG81KFdPJIOSJswXsGyZ0tk9IMZea8sfNXMGMnZgikQJUQPkmRVYVw9BP1qH9tp7hJF32DQtzkBB_NE8xPASPVgXVWbbntChGyYqqDvF1p8&format=json
|
621
|
+
body:
|
622
|
+
encoding: US-ASCII
|
623
|
+
string: ''
|
624
|
+
headers:
|
625
|
+
User-Agent:
|
626
|
+
- Faraday v0.8.8
|
627
|
+
response:
|
628
|
+
status:
|
629
|
+
code: 200
|
630
|
+
message:
|
631
|
+
headers:
|
632
|
+
server:
|
633
|
+
- Apache-Coyote/1.1
|
634
|
+
x-li-request-id:
|
635
|
+
- HSMU2YP5S5
|
636
|
+
vary:
|
637
|
+
- '*'
|
638
|
+
x-li-format:
|
639
|
+
- json
|
640
|
+
content-type:
|
641
|
+
- application/json;charset=UTF-8
|
642
|
+
date:
|
643
|
+
- Sun, 13 Oct 2013 23:18:47 GMT
|
644
|
+
x-li-fabric:
|
645
|
+
- PROD-ELA4
|
646
|
+
access-control-allow-origin:
|
647
|
+
- https://www.linkedin.com
|
648
|
+
age:
|
649
|
+
- '0'
|
650
|
+
transfer-encoding:
|
651
|
+
- chunked
|
652
|
+
connection:
|
653
|
+
- keep-alive
|
654
|
+
x-li-pop:
|
655
|
+
- PROD-ELA4
|
656
|
+
x-li-uuid:
|
657
|
+
- uPNvqZXOLBOQLrUQSSsAAA==
|
658
|
+
body:
|
659
|
+
encoding: UTF-8
|
660
|
+
string: |-
|
661
|
+
{
|
662
|
+
"_total": 1,
|
663
|
+
"values": [{
|
664
|
+
"comment": "Whaaaat",
|
665
|
+
"id": 5795295755790999552,
|
666
|
+
"person": {
|
667
|
+
"apiStandardProfileRequest": {
|
668
|
+
"headers": {
|
669
|
+
"_total": 1,
|
670
|
+
"values": [{
|
671
|
+
"name": "x-li-auth-token",
|
672
|
+
"value": "name:lTbb"
|
673
|
+
}]
|
674
|
+
},
|
675
|
+
"url": "http://api.linkedin.com/v1/people/cDmdM9cb0H"
|
676
|
+
},
|
677
|
+
"firstName": "Josh",
|
678
|
+
"headline": "Test Engineer at LinkedIn2 Gem",
|
679
|
+
"id": "cDmdM9cb0H",
|
680
|
+
"lastName": "Testjordan",
|
681
|
+
"siteStandardProfileRequest": {"url": "http://www.linkedin.com/profile/view?id=292221312&authType=name&authToken=lTbb&trk=api*a3296321*s3370311*"}
|
682
|
+
},
|
683
|
+
"sequenceNumber": 1,
|
684
|
+
"timestamp": 1381706181420
|
685
|
+
}]
|
686
|
+
}
|
687
|
+
http_version:
|
688
|
+
recorded_at: Sun, 13 Oct 2013 23:18:53 GMT
|
689
|
+
- request:
|
690
|
+
method: get
|
691
|
+
uri: https://api.linkedin.com/v1/people/~/network/updates/key=PROF-18939563-5794095336964247552-*1/likes?oauth2_access_token=AQUJwEF40pJUbVxsW_mujQ3QCiXvlTnMFk55SlfVPYRcAPdsn1oE1Hm8Ldlc61o57k96i04ufG81KFdPJIOSJswXsGyZ0tk9IMZea8sfNXMGMnZgikQJUQPkmRVYVw9BP1qH9tp7hJF32DQtzkBB_NE8xPASPVgXVWbbntChGyYqqDvF1p8&format=json
|
692
|
+
body:
|
693
|
+
encoding: US-ASCII
|
694
|
+
string: ''
|
695
|
+
headers:
|
696
|
+
User-Agent:
|
697
|
+
- Faraday v0.8.8
|
698
|
+
response:
|
699
|
+
status:
|
700
|
+
code: 200
|
701
|
+
message:
|
702
|
+
headers:
|
703
|
+
server:
|
704
|
+
- Apache-Coyote/1.1
|
705
|
+
x-li-request-id:
|
706
|
+
- 1EAVI7D3AZ
|
707
|
+
vary:
|
708
|
+
- '*'
|
709
|
+
x-li-format:
|
710
|
+
- json
|
711
|
+
content-type:
|
712
|
+
- application/json;charset=UTF-8
|
713
|
+
date:
|
714
|
+
- Sun, 13 Oct 2013 23:18:55 GMT
|
715
|
+
x-li-fabric:
|
716
|
+
- PROD-ELA4
|
717
|
+
access-control-allow-origin:
|
718
|
+
- https://www.linkedin.com
|
719
|
+
age:
|
720
|
+
- '1'
|
721
|
+
transfer-encoding:
|
722
|
+
- chunked
|
723
|
+
connection:
|
724
|
+
- keep-alive
|
725
|
+
x-li-pop:
|
726
|
+
- PROD-ELA4
|
727
|
+
x-li-uuid:
|
728
|
+
- AApNlJfOLBMwdaIwSSsAAA==
|
729
|
+
body:
|
730
|
+
encoding: UTF-8
|
731
|
+
string: |-
|
732
|
+
{
|
733
|
+
"_total": 1,
|
734
|
+
"values": [{"person": {
|
735
|
+
"firstName": "Josh",
|
736
|
+
"headline": "Test Engineer at LinkedIn2 Gem",
|
737
|
+
"id": "cDmdM9cb0H",
|
738
|
+
"lastName": "Testjordan"
|
739
|
+
}}]
|
740
|
+
}
|
741
|
+
http_version:
|
742
|
+
recorded_at: Sun, 13 Oct 2013 23:19:02 GMT
|
743
|
+
recorded_with: VCR 2.5.0
|