返回顶部
l

linkedin-search-posts领英帖子搜索

Search LinkedIn posts by keywords using the Apify actor harvestapi/linkedin-post-search. Use when the user wants to search, scrape, or retrieve LinkedIn posts matching specific keywords. Accepts search queries, optional profile/company filters, date filter, and sort options. Requires APIFY_API_TOKEN env variable.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.0.0
安全检测
已通过
235
下载量
免费
免费
0
收藏
概述
安装方式
版本历史

linkedin-search-posts

LinkedIn 帖子搜索

通过 Apify actor harvestapi~linkedin-post-search 搜索 LinkedIn 帖子。

前提条件

必须设置环境变量 APIFYAPITOKEN(在 openclaw.json 的 skills.entries.linkedin-search-posts.env 中配置)。

输入模式

必需参数

  • - searchQueries:字符串数组 — 搜索查询列表(每个查询最多 85 个字符)。支持 LinkedIn 布尔运算符。例如:[La Base Programme idéation Nantes]

可选参数 — 作者筛选

  • - targetUrls:要获取帖子的 LinkedIn 个人资料/页面 URL 列表
  • authorsPublicIdentifiers:LinkedIn 公开标识符列表(例如:[williamhgates])
  • authorsIds:LinkedIn ID 列表(例如:[ACoAAA8BYqEBCGLgvTca6mMEqkpp9nVffJ3hc])
  • authorsCompanyPublicIdentifiers:LinkedIn 公司标识符列表(例如:[google, microsoft])

可选参数 — 分页/数量

  • - maxPosts:每个查询的最大帖子数(0 = 抓取全部)。优先级高于 scrapePages。
  • scrapePages:如果未设置 maxPosts,则抓取的页数(带关键词约 50 条帖子/页,不带关键词约 90-100 条)
  • startPage:起始页(默认:1)

可选参数 — 丰富内容

  • - scrapeReactions:抓取反应(默认:false)。每条反应计为一条独立帖子(计费)。
  • maxReactions:每条帖子的最大反应数(0 = 全部)
  • scrapeComments:抓取评论(默认:false)。每条评论计为一条独立帖子(计费)。
  • maxComments:每条帖子的最大评论数(0 = 全部)

可选参数 — 排序/日期

  • - sortBy:relevance(按相关性,默认)或 date(最新优先)
  • postedLimit:帖子的最大时效。可接受的值:1h、24h、week、month、3months、6months、year

运行 actor

bash
curl --request POST \
--url https://api.apify.com/v2/acts/harvestapi~linkedin-post-search/runs?token=$APIFYAPITOKEN \
--header Content-Type: application/json \
--data {
searchQueries: [<搜索查询>],
maxPosts: 50,
sortBy: date,
postedLimit: month
}

响应包含:

  • - data.id — 运行 ID
  • data.defaultDatasetId — 用于获取结果的数据集 ID
  • data.status — 初始状态(READY → RUNNING → SUCCEEDED)

轮询直至完成

bash
curl https://api.apify.com/v2/acts/harvestapi~linkedin-post-search/runs/ID>?token=$APIFYAPI_TOKEN

检查 data.status == SUCCEEDED。

获取结果

bash
curl https://api.apify.com/v2/datasets/ID>/items?token=$APIFYAPI_TOKEN

返回 JSON 数组。每个项目包含:

  • - type — post(如果启用,也可能是 reaction / comment)
  • id — 帖子 ID
  • linkedinUrl — 帖子 URL
  • content — 帖子文本
  • author.name、author.publicIdentifier、author.linkedinUrl、author.avatar.url
  • postedAt.date、postedAt.timestamp、postedAt.postedAgoText
  • postImages[] — 帖子图片
  • engagement.likes、engagement.comments、engagement.shares、engagement.reactions[]
  • reactions[] — 反应详情(如果 scrapeReactions: true)
  • comments[] — 评论详情(如果 scrapeComments: true)

定价

每 1000 条帖子 2 美元(PAYPEREVENT)。反应和评论各计为一条独立帖子。

已知限制

  • - 每个查询限制为 85 个字符(LinkedIn 限制)
  • 如果启用反应和评论,成本将翻倍/三倍
  • LinkedIn 结果并非详尽无遗

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 linkedin-search-posts-1776195403 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 linkedin-search-posts-1776195403 技能

通过命令行安装

skillhub install linkedin-search-posts-1776195403

下载

⬇ 下载 linkedin-search-posts v1.0.0(免费)

文件大小: 2.42 KB | 发布时间: 2026-4-15 10:43

v1.0.0 最新 2026-4-15 10:43
Initial release of linkedin-search-posts skill.

- Search and retrieve LinkedIn posts by keywords using Apify actor.
- Supports filtering by author, company, and posting date.
- Optional scraping of post reactions and comments.
- Configurable result sorting, pagination, and volume controls.
- Requires APIFY_API_TOKEN to function.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部