---
document_id: agent.collection.task.linkedin_user_posts_v1
schema_version: 2
parent_document_id: agent.querying
section: querying
---

<!-- Generated by scripts.build_agent_guide; do not edit. -->

# User posts / 用户帖子

Fetch a LinkedIn user's posts, paged by cursor.

取一个 LinkedIn 用户发布的帖子，按游标翻页。

Task / 任务: `linkedin_user_posts_v1`
Platform / 平台: LinkedIn / 领英
Billing / 计费: 84 Credits per successful task / 每个成功任务 84 Credits
Estimate / 估价: call `estimate_collection`; start directly when `approval_required=false`, otherwise obtain approval for `upper_bound_credits`.
估价：调用 `estimate_collection`；`approval_required=false` 时直接启动，否则请用户确认 `upper_bound_credits`。

## Limitations / 限制

- 上游同一端点也用于取“评论过的帖/点赞过的帖”；本任务只发默认请求，**不按种类再分类**（响应里没有可靠的种类字段），条目种类以上游返回为准。
- poster 可能指向原帖作者而非该用户。
- author_name/author_url 对用户帖子常为 null：上游只给 poster_linkedin_url，作者名只出现在公司帖的 poster 对象里。

## Inputs / 输入

- `url` — URL / 链接; kind=text; required=True; default=''; bounds=min_length=1, max_length=512
- `cursor` — Cursor / 翻页游标; kind=cursor; required=False; default=''; bounds=max_length=4096

## Minimal call / 最小调用

`estimate_collection`

```json
{
  "task_query": "获取领英用户 William Gates 发布的帖子",
  "task_code": "linkedin_user_posts_v1",
  "input": {
    "url": "https://www.linkedin.com/in/williamhgates"
  }
}
```


## Result and pagination / 结果与分页

- mode=cursor
- input: `cursor`; continuation: `data.has_more` → `data.next_cursor`

Only the fields listed below are part of the stable result contract. /
只有下方列出的字段属于稳定结果契约。

## Result fields / 结果字段

- `meta.request_id` — type=string; Asklear request identifier for tracing. / 用于追踪的 Asklear 请求 ID。
- `meta.api_name` — type=string; Executed collection operation name. / 实际执行的采集操作名称。
- `meta.latency_ms` — type=integer; Collection execution latency in milliseconds. / 采集执行耗时（毫秒）。
- `meta.credits_charged` — type=integer; Asklear user-side Credits settled for this task after completion. / 任务完成后 Asklear 用户侧实际结算的 Credits。
- `data.items` — type=array<object>; Projected public items for this task. / 本任务投影后的公开条目。
- `data.item_count` — type=integer; Number of returned items. / 本次返回的条目数。
- `data.items[].post_id` — type=scalar|null; Post identifier, when available. / 帖子 ID（如有）。
- `data.items[].text` — type=scalar|null; Text content, when available. / 正文内容（如有）。
- `data.items[].url` — type=scalar|null; Public URL, when available. / 公开链接（如有）。
- `data.items[].published_at` — type=integer|null; Publication time, when available. / 发布时间（如有）。
- `data.items[].comment_count` — type=scalar|null; Comment count, when available. / 评论数（如有）。
- `data.items[].like_count` — type=scalar|null; Like count, when available. / 点赞数（如有）。
- `data.items[].repost_count` — type=scalar|null; Repost count, when available. / 转发数（如有）。
- `data.items[].author_name` — type=scalar|null; Author display name, when available. / 作者名称（如有）。
- `data.items[].author_url` — type=scalar|null; Author url, when available. / 作者链接（如有）。
- `data.items[].article_title` — type=scalar|null; Article title, when available. / 文章标题（如有）。
- `data.items[].article_url` — type=scalar|null; Article url, when available. / 文章链接（如有）。
- `data.items[].is_reposted` — type=scalar|null; Is reposted, when available. / 是否转发（如有）。
- `data.items[].is_reshared` — type=scalar|null; Is reshared, when available. / 是否再次分享（如有）。
- `data.has_more` — type=boolean; Whether a continuation is available. / 是否还有下一页。
- `data.next_cursor` — type=string|null; Cursor for the next page, or null. / 下一页游标；无下一页时为 null。
- `data.total` — type=integer; Total matching records, when supplied. / 匹配记录总数（如有）。

Use `list_collection_tasks` as the runtime authority, then `describe_collection_task` for one task's full input contract, examples and limits. Collection access is entitlement-gated. /
以 `list_collection_tasks` 返回为运行时准据，再用 `describe_collection_task` 取单个任务的完整入参契约、示例与限制；采集能力受 entitlement 控制。
