Linkedin API中似乎存在一个错误 我使用带有分页功能的get组织活动API,并在调用下一页时(通过nextLink字段中的href属性),得到的响应包含0个元素(空数组),以及具有相同href的nextLink链接我刚用过例如:
请求网址:
https://api.linkedin.com/v2/shares?count=1&owners=urn%3Ali%3Aorganization%3A9180416&q=owners&start=5
响应有效载荷:
{
"elements": [],
"paging": {
"total": 216,
"count": 1,
"start": 5,
"links": [
{
"rel": "prev",
"href": "/v2/shares?
count=1&owners=urn%3Ali%3Aorganization%3A9180416&q=owners&start=4",
"type": "application/json"
},
{
"rel": "next",
"href": "/v2/shares?
count=1&owners=urn%3Ali%3Aorganization%3A9180416&q=owners&start=5",
"type": "application/json"
}
]
}
}
我发送请求的方式不好吗?