2015-02-12 67 views
0

我使用REST console来运行LinkedIn API来收集连接的公共配置文件URL。Linkedin连接API失败

例如,在服务,我选择“获取我的连接”,验证“的O​​Auth 2”如果我尝试以下方法要求它是确定:

https://api.linkedin.com/v1/people/~/connections:(public-profile-url)?start=0&count=4000&modified=updated 

因为我有超过20K的连接,我有将计数限制为小于5000.以前,我可以通过更改startcount参数运行多个查询来收集数据。例如:

start=0&count=4000 
start=4001&count=4000 
start=8001&count=4000 

不过,现在,如果我在“开始”参数放一个非零数字,它总是返回一个内部错误(如下图)。我该如何解决这个问题?

HTTP/1.1 500内部服务器错误

回答

0

我在请求500个联系人一次一个类似的问题:

https://api.linkedin.com/v1/people/~/connections:(public-profile-url)?start=0&count=500&modified=updated 

而上周开始给我同样的500 Internal Server Error

我将计数减少到100,并重新开始工作。 250也可以。

https://api.linkedin.com/v1/people/~/connections:(public-profile-url)?start=0&count=100&modified=updated