当前,使用 public-profile-url 调用连接 api 会导致内部服务器错误
Currently, calling the connections api with the public-profile-url is causing an internal server error
目前(但通常不会),如果您调用以下 url,您会收到内部服务器错误:
https://api.linkedin.com/v1/people/~/connections:(id,headline,picture-url,summary,first-name,last-name,formatted-name,location:(name),industry,positions,num-connections,num-connections-capped,api-standard-profile-request:(url,headers),public-profile-url)?format=json
删除 public-profile-url 并调用以下 url,它有效:
https://api.linkedin.com/v1/people/~/connections:(id,headline,picture-url,summary,first-name,last-name,formatted-name,location:(name),industry,positions,num-connections,num-connections-capped,api-standard-profile-request:(url,headers))?format=json
为什么?
他们似乎减少了每次请求时可以获得的联系人数量。我曾经要 500 并且它工作了很长时间,然后上周它停止工作而是 return:
<status>500</status>
<timestamp>1424451457253</timestamp>
<request-id>HISKBDLSOA</request-id>
<error-code>0</error-code>
<message>Internal service error</message>
现在,我每次请求 250 个联系人,它再次起作用。
https://api.linkedin.com/v1/people/~/connections:(public-profile-url)?start=0&count=250&modified=updated
目前(但通常不会),如果您调用以下 url,您会收到内部服务器错误: https://api.linkedin.com/v1/people/~/connections:(id,headline,picture-url,summary,first-name,last-name,formatted-name,location:(name),industry,positions,num-connections,num-connections-capped,api-standard-profile-request:(url,headers),public-profile-url)?format=json
删除 public-profile-url 并调用以下 url,它有效: https://api.linkedin.com/v1/people/~/connections:(id,headline,picture-url,summary,first-name,last-name,formatted-name,location:(name),industry,positions,num-connections,num-connections-capped,api-standard-profile-request:(url,headers))?format=json
为什么?
他们似乎减少了每次请求时可以获得的联系人数量。我曾经要 500 并且它工作了很长时间,然后上周它停止工作而是 return:
<status>500</status>
<timestamp>1424451457253</timestamp>
<request-id>HISKBDLSOA</request-id>
<error-code>0</error-code>
<message>Internal service error</message>
现在,我每次请求 250 个联系人,它再次起作用。
https://api.linkedin.com/v1/people/~/connections:(public-profile-url)?start=0&count=250&modified=updated