LinkedIn post comments and reactions together
fetchinio.linkedin.post.engagementFetch a post's comments and reactions in a single call.
- Price
- $0.003/callプロバイダー原価
- Success rate
- —成功率データはまだありません成功率データはまだありません
- Latency p50
- ——
- Last verified
- 2026/09/24Verified working
GEThttps://toolswitch.dev/v1/tools/fetchinio.linkedin.post.engagement?commentCount=1&postUrlOrUrn=urn%3Ali%3Aactivity%3A7508596155145043968&reactionCount=1PreviewTry online近日公開Provider docs ↗
- Uses platform quota
- Synchronous response
- Reads public data
パラメータ
Returns both datasets atomically. The call consumes two credits and two rate-limit units.
| パラメータ | 型 | 必須 | 説明 | 例 |
|---|---|---|---|---|
| クエリパラメータ | ||||
commentCount | 整数 | 任意 | 1 | |
commentStart | 整数 | 任意 | ||
postUrlOrUrn | 文字列 | 必須 | Post URL, activity URN or share URN. | urn:li:activity:7508596155145043968 |
reactionCount | 整数 | 任意 | 1 | |
reactionStart | 整数 | 任意 | ||
commentPaginationToken | 文字列 | 任意 | ||
- クエリパラメータ
commentCount整数任意例:
1commentStart整数任意postUrlOrUrn文字列必須Post URL, activity URN or share URN.
例:
urn:li:activity:7508596155145043968reactionCount整数任意例:
1reactionStart整数任意commentPaginationToken文字列任意
コード例
$TOOLSWITCH_KEY をコンソールで作成したキーに置き換えてください。
Preview
curl -X GET 'https://toolswitch.dev/v1/tools/fetchinio.linkedin.post.engagement?commentCount=1&postUrlOrUrn=urn%3Ali%3Aactivity%3A7508596155145043968&reactionCount=1' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY"import os
import requests
response = requests.request(
"GET",
"https://toolswitch.dev/v1/tools/fetchinio.linkedin.post.engagement?commentCount=1&postUrlOrUrn=urn%3Ali%3Aactivity%3A7508596155145043968&reactionCount=1",
headers={"X-Toolswitch-Key": os.environ["TOOLSWITCH_KEY"]},
)
response.raise_for_status()
print(response.text)const response = await fetch("https://toolswitch.dev/v1/tools/fetchinio.linkedin.post.engagement?commentCount=1&postUrlOrUrn=urn%3Ali%3Aactivity%3A7508596155145043968&reactionCount=1", {
method: "GET",
headers: {
"X-Toolswitch-Key": process.env.TOOLSWITCH_KEY ?? "",
},
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
console.log(await response.text());このゲートウェイ API はプレビュー版です。URL や認証方式は変更される場合があります。 パラメータはサンプルデータです。 呼び出し料金は $0.003/call です。サービス料を含みます。