linkedin-v2 0.1.4 → 0.1.9

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.
Files changed (34) hide show
  1. checksums.yaml +5 -5
  2. data/lib/linked_in/api.rb +6 -2
  3. data/lib/linked_in/api_resource.rb +1 -1
  4. data/lib/linked_in/media.rb +5 -4
  5. data/lib/linked_in/organizations.rb +10 -1
  6. data/lib/linked_in/raise_error.rb +1 -2
  7. data/lib/linked_in/share_and_social_stream.rb +34 -4
  8. data/lib/linked_in/version.rb +1 -1
  9. data/linkedin-v2.gemspec +2 -2
  10. data/spec/vcr_cassettes/access_token_success.yml +19 -19
  11. data/spec/vcr_cassettes/bad_code.yml +19 -19
  12. data/spec/vcr_cassettes/organization_data.yml +8 -8
  13. data/spec/vcr_cassettes/people_picture_urls.yml +8 -8
  14. data/spec/vcr_cassettes/people_profile_connections_fields.yml +8 -8
  15. data/spec/vcr_cassettes/people_profile_connections_other.yml +8 -8
  16. data/spec/vcr_cassettes/people_profile_connections_self.yml +8 -8
  17. data/spec/vcr_cassettes/people_profile_fields_complex.yml +8 -8
  18. data/spec/vcr_cassettes/people_profile_fields_simple.yml +8 -8
  19. data/spec/vcr_cassettes/people_profile_lang_spanish.yml +8 -8
  20. data/spec/vcr_cassettes/people_profile_multiple_fields.yml +8 -8
  21. data/spec/vcr_cassettes/people_profile_multiple_uids.yml +8 -8
  22. data/spec/vcr_cassettes/people_profile_multiple_uids_and_urls.yml +8 -8
  23. data/spec/vcr_cassettes/people_profile_multiple_urls.yml +8 -8
  24. data/spec/vcr_cassettes/people_profile_new_connections_fields.yml +8 -8
  25. data/spec/vcr_cassettes/people_profile_new_connections_other.yml +8 -8
  26. data/spec/vcr_cassettes/people_profile_new_connections_self.yml +8 -8
  27. data/spec/vcr_cassettes/people_profile_other_uid.yml +9 -9
  28. data/spec/vcr_cassettes/people_profile_other_url.yml +7 -7
  29. data/spec/vcr_cassettes/people_profile_own.yml +9 -9
  30. data/spec/vcr_cassettes/people_profile_own_secure.yml +8 -8
  31. data/spec/vcr_cassettes/people_profile_skills.yml +8 -8
  32. data/spec/vcr_cassettes/unavailable.yml +19 -19
  33. metadata +10 -12
  34. data/pkg/linkedin-oauth2-2.0.0.gem +0 -0
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: bc976191fef4e046f550ec2a08ac7a1dea147cb8
4
- data.tar.gz: 02ab5e9623396d1879761677ff017a4b5aacd12d
2
+ SHA256:
3
+ metadata.gz: d226c04a12a3d6c207de3afe5e7c888fb2f3cde210c3a668c4bbfea52dc32960
4
+ data.tar.gz: 61488a24c28eeac5cda593a3efc9d2e97b2083d4c9afb03573f0406c2236dcf2
5
5
  SHA512:
6
- metadata.gz: 8e3edafeae0e7c690def1264e6027178c29e75ef6b14559445ab0430f1ce5d7bb66c534d2e4231d99a7022319eaaf43eea53fde14acdd16ad2f3a391b6105bd9
7
- data.tar.gz: 3ecd40e0357cb0192e5ea1083071bf9e0412b7267cf8d1b6afe40485ca6edf879a937ed179f88da5dd918d009cc568dc86fa1cce101ad263418f7100190a3cbf
6
+ metadata.gz: f13afb37e7f79ed290fbc4f3c01090edd5ff7609947ee1aa4236a45e99da47b860231f104f9fa6b2d33ede14e36c7586cb04d5aabd6978911e15698b2a68858e
7
+ data.tar.gz: b653766553a6351a17669c6fdf250d0c4803a6072cc54da08153ff4314beaa2e8b4cfb478702871811aa5c3d0a01994cf47a8b9de4820c98c814b7d0c76acfb8
@@ -48,7 +48,8 @@ module LinkedIn
48
48
  :organization_search,
49
49
  :organization_page_statistics,
50
50
  :organization_follower_statistics,
51
- :organization_share_statistics
51
+ :organization_share_statistics,
52
+ :organization_follower_count
52
53
 
53
54
  def_delegators :@communications, :send_message
54
55
 
@@ -58,7 +59,10 @@ module LinkedIn
58
59
  :like,
59
60
  :unlike,
60
61
  :comments,
61
- :comment
62
+ :comment,
63
+ :get_share,
64
+ :get_social_actions,
65
+ :migrate_update_keys
62
66
 
63
67
  def_delegators :@media, :summary,
64
68
  :upload
@@ -72,7 +72,7 @@ module LinkedIn
72
72
  def delete(path=nil, body=nil, headers=nil, &block)
73
73
  # @connection.delete(prepend_prefix(path), params, headers, &block)
74
74
  # To be able to DELETE with a body:
75
- reponse = @connection.run_request(:delete, prepend_prefix(path), body, headers, &block)
75
+ response = @connection.run_request(:delete, prepend_prefix(path), body, headers, &block)
76
76
 
77
77
  Mash.from_json(response.body)
78
78
  end
@@ -20,15 +20,15 @@ module LinkedIn
20
20
  #
21
21
  # @options options [String] :source_url, the URL to the content to be uploaded.
22
22
  # @options options [Numeric] :timeout, optional timeout value in seconds, defaults to 300.
23
+ # @options options [String] :disposition_filename, the name of the file to be uploaded. Defaults to the basename of the URL filename.
23
24
  # @return [LinkedIn::Mash]
24
25
  #
25
26
  def upload(options = {})
26
27
  source_url = options.delete(:source_url)
27
28
  timeout = options.delete(:timeout) || DEFAULT_TIMEOUT_SECONDS
28
29
  media_upload_endpoint = LinkedIn.config.api + '/media/upload'
29
-
30
30
  response =
31
- @connection.post(media_upload_endpoint, file: file(source_url)) do |req|
31
+ @connection.post(media_upload_endpoint, file: file(source_url, options)) do |req|
32
32
  req.headers['Accept'] = 'application/json'
33
33
  req.options.timeout = timeout
34
34
  req.options.open_timeout = timeout
@@ -50,10 +50,11 @@ module LinkedIn
50
50
  ::MIME::Types.type_for(extension(media)).first.content_type
51
51
  end
52
52
 
53
- def file(source_url)
53
+ def file(source_url, options)
54
54
  media = open(source_url, 'rb')
55
55
  io = StringIO.new(media.read)
56
- Faraday::UploadIO.new(io, content_type(media), upload_filename(media))
56
+ filename = options.delete(:disposition_filename) || upload_filename(media)
57
+ Faraday::UploadIO.new(io, content_type(media), filename)
57
58
  end
58
59
  end
59
60
  end
@@ -40,7 +40,7 @@ module LinkedIn
40
40
  # @see https://developer.linkedin.com/docs/guide/v2/organizations/organization-lookup-api#acls
41
41
  #
42
42
  def organization_acls(options = {})
43
- path = '/organizationalEntityAcls'
43
+ path = '/organizationAcls'
44
44
  get(path, options)
45
45
  end
46
46
 
@@ -113,6 +113,15 @@ module LinkedIn
113
113
  get(path, options)
114
114
  end
115
115
 
116
+ # Retrieve Organization Follower Count
117
+ #
118
+ # https://docs.microsoft.com/en-us/linkedin/marketing/integrations/community-management/organizations/organization-lookup-api#retrieve-organization-follower-count
119
+ #
120
+ def organization_follower_count organization_urn
121
+ path = "/networkSizes/#{organization_urn}?edgeType=CompanyFollowedByMember"
122
+ get(path)
123
+ end
124
+
116
125
  # TODO MOVE TO SOCIAL ACTIONS.
117
126
  #
118
127
  # # Retrieve comments on a particular company update:
@@ -14,8 +14,7 @@ module LinkedIn
14
14
  when 404
15
15
  raise LinkedIn::NotFoundError.new(data), "(#{data.status}): #{data.message}"
16
16
  when 500
17
- raise LinkedIn::InformLinkedInError.new(data),
18
- "LinkedIn had an internal error. Please let them know in the forum. (#{data.status}): #{data.message}"
17
+ raise LinkedIn::InformLinkedInError.new(data), "LinkedIn had an internal error. (#{data.status}): #{data.message}"
19
18
  when 502..504
20
19
  raise LinkedIn::UnavailableError.new(data), "(#{data.status}): #{data.message}"
21
20
  else
@@ -36,6 +36,16 @@ module LinkedIn
36
36
  get(path, options)
37
37
  end
38
38
 
39
+ # Retrieve Share by ID
40
+ #
41
+ # https://docs.microsoft.com/en-us/linkedin/marketing/integrations/community-management/shares/share-api#look-up-share-by-id
42
+ #
43
+ def get_share(options = {})
44
+ id = options.delete(:id)
45
+ path = "/shares/#{id}"
46
+ get(path, options)
47
+ end
48
+
39
49
  # Create one share from a person, organization, or organizationBrand.
40
50
  #
41
51
  # Permissions:
@@ -60,6 +70,15 @@ module LinkedIn
60
70
  post(path, MultiJson.dump(defaults.merge(options)), 'Content-Type' => 'application/json')
61
71
  end
62
72
 
73
+ # Retrieve a Summary of Social Actions
74
+ #
75
+ # https://docs.microsoft.com/en-us/linkedin/marketing/integrations/community-management/shares/network-update-social-actions#retrieve-a-summary-of-social-actions
76
+ #
77
+ def get_social_actions share_urns
78
+ path = '/socialActions'
79
+ get(path, ids: share_urns)
80
+ end
81
+
63
82
  # Retrieves the likes for a specific post.
64
83
  #
65
84
  # @see https://developer.linkedin.com/docs/guide/v2/shares/network-update-social-actions#retrieve
@@ -122,6 +141,7 @@ module LinkedIn
122
141
  #
123
142
  # @option options [String] :urn, specifies activity queried for comments (e.g.,
124
143
  # urn:li:article:123)
144
+ # @option options [String] :parent_comment, specifies the urn of the parent comment
125
145
  # @option options [String] :actor, specifies the entity performing the action. It should b # represented by a urn:li:person:{id} or urn:li:organization:{id} URN.
126
146
  # @option options [String] :message, the text content of the comment.
127
147
  #
@@ -129,15 +149,25 @@ module LinkedIn
129
149
  urn = options.delete(:urn)
130
150
  actor = options.delete(:actor)
131
151
  message = options.delete(:message)
152
+ parent_comment = options.delete(:parent_comment)
153
+
132
154
  body = {
133
155
  actor: actor,
134
- message: {
135
- attributes: [],
136
- text: message
137
- }
156
+ message: { text: message }
138
157
  }
158
+ body.merge!(parentComment: parent_comment) if parent_comment
159
+
139
160
  path = "/socialActions/#{urn}/comments"
140
161
  post(path, MultiJson.dump(body), 'Content-Type' => 'application/json')
141
162
  end
163
+
164
+ # Migrate from Update Keys to Share URNs
165
+ #
166
+ # https://docs.microsoft.com/en-us/linkedin/marketing/integrations/community-management/shares/share-api#migrate-from-update-keys-to-share-urns
167
+ #
168
+ def migrate_update_keys update_keys
169
+ path = '/activities'
170
+ get(path, ids: update_keys)
171
+ end
142
172
  end
143
173
  end
@@ -1,3 +1,3 @@
1
1
  module LinkedIn
2
- VERSION = '0.1.4'
2
+ VERSION = '0.1.9'
3
3
  end
@@ -22,8 +22,8 @@ Gem::Specification.new do |gem|
22
22
 
23
23
  gem.add_dependency "oauth2", "~> 1.0"
24
24
  gem.add_dependency "hashie", "~> 3.2"
25
- gem.add_dependency "faraday", "~> 0.11"
26
- gem.add_dependency 'mime-types', '~> 1.16'
25
+ gem.add_dependency "faraday", "~> 1.0"
26
+ gem.add_dependency 'mime-types', '>= 1.16'
27
27
 
28
28
  gem.add_development_dependency "rake"
29
29
  gem.add_development_dependency "rspec", "~> 3.0"
@@ -8,7 +8,7 @@ http_interactions:
8
8
  string: client_id=dummy_client_id&client_secret=dummy_client_secret&code=dummy_code&grant_type=authorization_code&raise_errors=true&redirect_uri=http%3A%2F%2Flvh.me%3A5000
9
9
  headers:
10
10
  User-Agent:
11
- - Faraday v0.10.1
11
+ - Faraday v0.12.2
12
12
  Content-Type:
13
13
  - application/x-www-form-urlencoded
14
14
  Accept-Encoding:
@@ -31,11 +31,11 @@ http_interactions:
31
31
  Content-Language:
32
32
  - en-US
33
33
  Content-Length:
34
- - '249'
34
+ - '250'
35
35
  Date:
36
- - Thu, 10 May 2018 16:18:30 GMT
36
+ - Mon, 21 May 2018 18:34:12 GMT
37
37
  X-Fs-Uuid:
38
- - 7fbbf246d2542d1530771e94632b0000
38
+ - b3043c399cbc3015206fa4ea4e2b0000
39
39
  Strict-Transport-Security:
40
40
  - max-age=2592000
41
41
  X-Content-Type-Options:
@@ -55,23 +55,23 @@ http_interactions:
55
55
  - prod-lva1
56
56
  Set-Cookie:
57
57
  - _lipt=deleteMe; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/
58
- - bcookie="v=2&a20f78e0-9ab5-4ae9-85dd-1700380ce00b"; domain=.linkedin.com;
59
- Path=/; Expires=Sun, 10-May-2020 03:56:02 GMT
60
- - bscookie="v=1&2018051016183015c08a4f-a1d2-44bf-816e-7c960f409c25AQEAwIqZSsbea_2-QkCJhoBSf55fgP2A";
61
- domain=.www.linkedin.com; Path=/; Secure; Expires=Sun, 10-May-2020 03:56:02
58
+ - bcookie="v=2&d345bb0e-f6ab-4db4-8542-b2d8828d9ef7"; domain=.linkedin.com;
59
+ Path=/; Expires=Thu, 21-May-2020 06:11:44 GMT
60
+ - bscookie="v=1&20180521183412b52aae88-48da-4286-8db2-061da5448518AQGWqF-B9sPcwFJhUavo9sVoIjQyDp85";
61
+ domain=.www.linkedin.com; Path=/; Secure; Expires=Thu, 21-May-2020 06:11:44
62
62
  GMT; HttpOnly
63
63
  - lang="v=2&lang=en-us"; Version=1; Domain=linkedin.com; Path=/
64
- - leo_auth_token="GST:8vAgXT5om3oeVQTyTIT_XTaTY8oRx9fbZWTkFOalyUNsynKHnSQbBA:1525969110:2707051a47df15820ce02d846137a7f57ade5f39";
65
- Version=1; Max-Age=1799; Expires=Thu, 10-May-2018 16:48:29 GMT; Path=/
66
- - lidc="b=VB27:g=1598:u=1:i=1525969110:t=1526055510:s=AQG_Wal_3aidvmIERcCW4KqiSyGqLUCk";
67
- Expires=Fri, 11 May 2018 16:18:30 GMT; domain=.linkedin.com; Path=/
64
+ - leo_auth_token="GST:UyjqklGyV7ZhRm4cfodqmZVJMh81RSaxFvjAKiPYm_ZPjmJQ8751kl:1526927652:fea5cbfed9b9ee17e26498280dfcb52f7bf0da84";
65
+ Version=1; Max-Age=1799; Expires=Mon, 21-May-2018 19:04:11 GMT; Path=/
66
+ - lidc="b=VB31:g=1614:u=1:i=1526927652:t=1527014052:s=AQEyvgLLWsw0KAkIo0IRU0oyq8wudtmV";
67
+ Expires=Tue, 22 May 2018 18:34:12 GMT; domain=.linkedin.com; Path=/
68
68
  - s_leo_auth_token="delete me"; Version=1; Max-Age=0; Expires=Thu, 01-Jan-1970
69
69
  00:00:10 GMT; Path=/
70
70
  - sl="delete me"; Version=1; Domain=.www.linkedin.com; Max-Age=0; Expires=Thu,
71
71
  01-Jan-1970 00:00:10 GMT; Path=/
72
72
  - sl="delete me"; Version=1; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT;
73
73
  Path=/
74
- - visit="v=1&G"; Version=1; Max-Age=63072000; Expires=Sat, 09-May-2020 16:18:30
74
+ - visit="v=1&G"; Version=1; Max-Age=63072000; Expires=Wed, 20-May-2020 18:34:12
75
75
  GMT; Path=/
76
76
  X-Li-Proto:
77
77
  - http/1.1
@@ -85,15 +85,15 @@ http_interactions:
85
85
  Connection:
86
86
  - keep-alive
87
87
  X-Li-Pop:
88
- - prod-ech2
88
+ - prod-edc2
89
89
  X-Li-Uuid:
90
- - H7cjRtJULRUQz0M+YysAAA==
90
+ - JZAgOZy8MBWAld5MTisAAA==
91
91
  body:
92
92
  encoding: ASCII-8BIT
93
93
  string: '{"error_description":"the authorization server is currently unable
94
- to handle the request : RestException{_response=RestResponse[headers={Content-Length=9511,
95
- Content-Type=application/json, X-RestLi-Error-Response=true, X-RestLi-Protocol-Version=2.0.0}cookies=[],status=404,entityLength=9511]}
94
+ to handle the request : RestException{_response=RestResponse[headers={Content-Length=10592,
95
+ Content-Type=application/json, X-RestLi-Error-Response=true, X-RestLi-Protocol-Version=2.0.0}cookies=[],status=404,entityLength=10592]}
96
96
  ","error":"temporarily_unavailable"}'
97
97
  http_version:
98
- recorded_at: Thu, 10 May 2018 16:18:30 GMT
99
- recorded_with: VCR 3.0.3
98
+ recorded_at: Mon, 21 May 2018 18:34:12 GMT
99
+ recorded_with: VCR 4.0.0
@@ -8,7 +8,7 @@ http_interactions:
8
8
  string: client_id=dummy_client_id&client_secret=dummy_client_secret&code=dummy_code&grant_type=authorization_code&raise_errors=true&redirect_uri=http%3A%2F%2Flvh.me%3A5000
9
9
  headers:
10
10
  User-Agent:
11
- - Faraday v0.10.1
11
+ - Faraday v0.12.2
12
12
  Content-Type:
13
13
  - application/x-www-form-urlencoded
14
14
  Accept-Encoding:
@@ -31,11 +31,11 @@ http_interactions:
31
31
  Content-Language:
32
32
  - en-US
33
33
  Content-Length:
34
- - '249'
34
+ - '250'
35
35
  Date:
36
- - Thu, 10 May 2018 16:18:31 GMT
36
+ - Mon, 21 May 2018 18:34:12 GMT
37
37
  X-Fs-Uuid:
38
- - 5a690092d2542d15006080a77b2b0000
38
+ - 6d8653659cbc30159005132abd2a0000
39
39
  Strict-Transport-Security:
40
40
  - max-age=2592000
41
41
  X-Content-Type-Options:
@@ -55,23 +55,23 @@ http_interactions:
55
55
  - prod-lva1
56
56
  Set-Cookie:
57
57
  - _lipt=deleteMe; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/
58
- - bcookie="v=2&f2d8db8b-5eab-4586-8930-a111b4164eef"; domain=.linkedin.com;
59
- Path=/; Expires=Sun, 10-May-2020 03:56:04 GMT
60
- - bscookie="v=1&20180510161832d8f051d0-c2c1-4b5b-8ec2-e2ad1becd1a1AQEPkaCgZ-qb5YmlWRBi2sEN-Dxgcjbz";
61
- domain=.www.linkedin.com; Path=/; Secure; Expires=Sun, 10-May-2020 03:56:04
58
+ - bcookie="v=2&194b1ecd-b9fc-450b-8c07-4d9d87477e8a"; domain=.linkedin.com;
59
+ Path=/; Expires=Thu, 21-May-2020 06:11:45 GMT
60
+ - bscookie="v=1&20180521183413f795f5c8-2e10-42c2-8920-87be0a432323AQHoo1a_vqsKuqO5L7wGUimNKySXziY3";
61
+ domain=.www.linkedin.com; Path=/; Secure; Expires=Thu, 21-May-2020 06:11:45
62
62
  GMT; HttpOnly
63
63
  - lang="v=2&lang=en-us"; Version=1; Domain=linkedin.com; Path=/
64
- - leo_auth_token="GST:8wepTSM4Iof7e1yTvxqFinOiFeU9t5pc6h7PVzOvujU79O-Q6_tXoV:1525969112:9f1024b4a3f55b03573cd2cef353f8148fcc4ce4";
65
- Version=1; Max-Age=1799; Expires=Thu, 10-May-2018 16:48:31 GMT; Path=/
66
- - lidc="b=VB15:g=1647:u=1:i=1525969112:t=1526055512:s=AQHZcHLVWCKhnX9QALwFyNhJgvdY4T-F";
67
- Expires=Fri, 11 May 2018 16:18:32 GMT; domain=.linkedin.com; Path=/
64
+ - leo_auth_token="GST:8eDGGaOuhyg9eGhMv7uXIk5tRvg95HyY8YPO25OPWVgje-HYbkZWkW:1526927653:4024b0fcbfe318f0617efa5b3593f5a943a7f3fb";
65
+ Version=1; Max-Age=1799; Expires=Mon, 21-May-2018 19:04:12 GMT; Path=/
66
+ - lidc="b=VB06:g=1762:u=1:i=1526927653:t=1527014053:s=AQFKD5x8ekiW_QXLNA92mRNPixdfT6N3";
67
+ Expires=Tue, 22 May 2018 18:34:13 GMT; domain=.linkedin.com; Path=/
68
68
  - s_leo_auth_token="delete me"; Version=1; Max-Age=0; Expires=Thu, 01-Jan-1970
69
69
  00:00:10 GMT; Path=/
70
70
  - sl="delete me"; Version=1; Domain=.www.linkedin.com; Max-Age=0; Expires=Thu,
71
71
  01-Jan-1970 00:00:10 GMT; Path=/
72
72
  - sl="delete me"; Version=1; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT;
73
73
  Path=/
74
- - visit="v=1&G"; Version=1; Max-Age=63072000; Expires=Sat, 09-May-2020 16:18:32
74
+ - visit="v=1&G"; Version=1; Max-Age=63072000; Expires=Wed, 20-May-2020 18:34:13
75
75
  GMT; Path=/
76
76
  X-Li-Proto:
77
77
  - http/1.1
@@ -85,15 +85,15 @@ http_interactions:
85
85
  Connection:
86
86
  - keep-alive
87
87
  X-Li-Pop:
88
- - prod-ech2
88
+ - prod-edc2
89
89
  X-Li-Uuid:
90
- - hMMwkdJULRUQ6tGnfCsAAA==
90
+ - PFuuY5y8MBWg+osFvSoAAA==
91
91
  body:
92
92
  encoding: ASCII-8BIT
93
93
  string: '{"error_description":"the authorization server is currently unable
94
- to handle the request : RestException{_response=RestResponse[headers={Content-Length=9511,
95
- Content-Type=application/json, X-RestLi-Error-Response=true, X-RestLi-Protocol-Version=2.0.0}cookies=[],status=404,entityLength=9511]}
94
+ to handle the request : RestException{_response=RestResponse[headers={Content-Length=10592,
95
+ Content-Type=application/json, X-RestLi-Error-Response=true, X-RestLi-Protocol-Version=2.0.0}cookies=[],status=404,entityLength=10592]}
96
96
  ","error":"temporarily_unavailable"}'
97
97
  http_version:
98
- recorded_at: Thu, 10 May 2018 16:18:32 GMT
99
- recorded_with: VCR 3.0.3
98
+ recorded_at: Mon, 21 May 2018 18:34:13 GMT
99
+ recorded_with: VCR 4.0.0
@@ -12,7 +12,7 @@ http_interactions:
12
12
  Authorization:
13
13
  - Bearer dummy access token
14
14
  User-Agent:
15
- - Faraday v0.10.1
15
+ - Faraday v0.12.2
16
16
  Accept-Encoding:
17
17
  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
18
18
  Accept:
@@ -27,7 +27,7 @@ http_interactions:
27
27
  Content-Type:
28
28
  - application/json
29
29
  Date:
30
- - Thu, 10 May 2018 16:18:15 GMT
30
+ - Mon, 21 May 2018 18:33:58 GMT
31
31
  X-Li-Fabric:
32
32
  - prod-lva1
33
33
  Transfer-Encoding:
@@ -35,17 +35,17 @@ http_interactions:
35
35
  Connection:
36
36
  - keep-alive
37
37
  X-Li-Pop:
38
- - prod-ech2
38
+ - prod-edc2
39
39
  X-Li-Proto:
40
40
  - http/1.1
41
41
  X-Li-Uuid:
42
- - d7JNlc5ULRUgdJtWCSsAAA==
42
+ - 4gmX75i8MBXwaQZpdSsAAA==
43
43
  Set-Cookie:
44
- - lidc="b=VB28:g=1577:u=1:i=1525969095:t=1526055495:s=AQHbZ-P9DsU9WiZl4409KwszUggU2G1a";
45
- Expires=Fri, 11 May 2018 16:18:15 GMT; domain=.linkedin.com; Path=/
44
+ - lidc="b=VB90:g=1300:u=1:i=1526927638:t=1527014038:s=AQG3FreU8caYTQ4iqgrhldrSZfnYJyGm";
45
+ Expires=Tue, 22 May 2018 18:33:58 GMT; domain=.linkedin.com; Path=/
46
46
  body:
47
47
  encoding: UTF-8
48
48
  string: '{"serviceErrorCode":65600,"message":"Invalid access token","status":401}'
49
49
  http_version:
50
- recorded_at: Thu, 10 May 2018 16:18:15 GMT
51
- recorded_with: VCR 3.0.3
50
+ recorded_at: Mon, 21 May 2018 18:33:58 GMT
51
+ recorded_with: VCR 4.0.0
@@ -12,7 +12,7 @@ http_interactions:
12
12
  Authorization:
13
13
  - Bearer AQVM91zzF-bLiOfCsTi8ktxnq99l-tW9meri8F9ZEWAuHf5g1bO_Pa4p0nFwKvZ7VFdSERAnJZq3eNOq6BzDPFNIyGIy50s-7HkLq2hE5uy6HrAQrsMAQR_qZxnBrSD11g_M2sF5XB5fUHZOXEQFgFaXB0M19VUAsvsz3yg-7zMI7w9Zn_DYTLO1e2W9VEZrOgVmRNt1XBIT_pdQO7pQkKv4702yJTrIBOuhZWNLZRClPHd2RRhPf2SJeTkodbnL4xSvzcyEPpLaTPyZIVJnBcsAzYFiG_pJtyGs7x-iWbUZsYgnUVSy8Wg-5eqmvze5tuZdICIP0PJ0AVMNGOxRRiLOEh8MSg
14
14
  User-Agent:
15
- - Faraday v0.10.1
15
+ - Faraday v0.12.2
16
16
  Accept-Encoding:
17
17
  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
18
18
  Accept:
@@ -27,7 +27,7 @@ http_interactions:
27
27
  Content-Type:
28
28
  - application/json
29
29
  Date:
30
- - Thu, 10 May 2018 16:18:23 GMT
30
+ - Mon, 21 May 2018 18:34:07 GMT
31
31
  X-Li-Fabric:
32
32
  - prod-lva1
33
33
  Transfer-Encoding:
@@ -35,18 +35,18 @@ http_interactions:
35
35
  Connection:
36
36
  - keep-alive
37
37
  X-Li-Pop:
38
- - prod-ech2
38
+ - prod-edc2
39
39
  X-Li-Proto:
40
40
  - http/1.1
41
41
  Set-Cookie:
42
- - lidc="b=VB96:g=1157:u=18:i=1525969103:t=1526048328:s=AQEdzcGp03tn57unBJInFhSQjVfGyG6k"
42
+ - lidc="b=VB96:g=1172:u=20:i=1526927647:t=1527014039:s=AQEwT_cbxGx23wr3JMnnQ-NGnx46htzD"
43
43
  X-Li-Route-Key:
44
- - '"b=VB96:g=1157:u=18:i=1525969103:t=1526048328:s=AQEdzcGp03tn57unBJInFhSQjVfGyG6k"'
44
+ - '"b=VB96:g=1172:u=20:i=1526927647:t=1527014039:s=AQEwT_cbxGx23wr3JMnnQ-NGnx46htzD"'
45
45
  X-Li-Uuid:
46
- - 68Nto9BULRXwPfpKCSsAAA==
46
+ - nMkwA5u8MBXw4zBOSysAAA==
47
47
  body:
48
48
  encoding: UTF-8
49
49
  string: '{"serviceErrorCode":0,"message":"Resource me does not exist","status":404}'
50
50
  http_version:
51
- recorded_at: Thu, 10 May 2018 16:18:23 GMT
52
- recorded_with: VCR 3.0.3
51
+ recorded_at: Mon, 21 May 2018 18:34:07 GMT
52
+ recorded_with: VCR 4.0.0
@@ -12,7 +12,7 @@ http_interactions:
12
12
  Authorization:
13
13
  - Bearer AQVM91zzF-bLiOfCsTi8ktxnq99l-tW9meri8F9ZEWAuHf5g1bO_Pa4p0nFwKvZ7VFdSERAnJZq3eNOq6BzDPFNIyGIy50s-7HkLq2hE5uy6HrAQrsMAQR_qZxnBrSD11g_M2sF5XB5fUHZOXEQFgFaXB0M19VUAsvsz3yg-7zMI7w9Zn_DYTLO1e2W9VEZrOgVmRNt1XBIT_pdQO7pQkKv4702yJTrIBOuhZWNLZRClPHd2RRhPf2SJeTkodbnL4xSvzcyEPpLaTPyZIVJnBcsAzYFiG_pJtyGs7x-iWbUZsYgnUVSy8Wg-5eqmvze5tuZdICIP0PJ0AVMNGOxRRiLOEh8MSg
14
14
  User-Agent:
15
- - Faraday v0.10.1
15
+ - Faraday v0.12.2
16
16
  Accept-Encoding:
17
17
  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
18
18
  Accept:
@@ -27,7 +27,7 @@ http_interactions:
27
27
  Content-Type:
28
28
  - application/json
29
29
  Date:
30
- - Thu, 10 May 2018 16:18:21 GMT
30
+ - Mon, 21 May 2018 18:34:05 GMT
31
31
  X-Li-Fabric:
32
32
  - prod-lva1
33
33
  Transfer-Encoding:
@@ -35,18 +35,18 @@ http_interactions:
35
35
  Connection:
36
36
  - keep-alive
37
37
  X-Li-Pop:
38
- - prod-ech2
38
+ - prod-edc2
39
39
  X-Li-Proto:
40
40
  - http/1.1
41
41
  Set-Cookie:
42
- - lidc="b=VB96:g=1157:u=18:i=1525969101:t=1526048328:s=AQFQTCy3Xt6QUbxQihaJBi_U-eH4CdCt"
42
+ - lidc="b=VB96:g=1172:u=20:i=1526927645:t=1527014039:s=AQFrPI31qW1Sjy3IkWDRhXJC4um4wevV"
43
43
  X-Li-Route-Key:
44
- - '"b=VB96:g=1157:u=18:i=1525969101:t=1526048328:s=AQFQTCy3Xt6QUbxQihaJBi_U-eH4CdCt"'
44
+ - '"b=VB96:g=1172:u=20:i=1526927645:t=1527014039:s=AQFrPI31qW1Sjy3IkWDRhXJC4um4wevV"'
45
45
  X-Li-Uuid:
46
- - WAoCJ9BULRWQcBo6XisAAA==
46
+ - izRRfZq8MBVQ3oUcSisAAA==
47
47
  body:
48
48
  encoding: UTF-8
49
49
  string: '{"serviceErrorCode":0,"message":"Resource me does not exist","status":404}'
50
50
  http_version:
51
- recorded_at: Thu, 10 May 2018 16:18:21 GMT
52
- recorded_with: VCR 3.0.3
51
+ recorded_at: Mon, 21 May 2018 18:34:05 GMT
52
+ recorded_with: VCR 4.0.0