Facebook PagesFacebookSocial

Posts on your Facebook Page with engagement counts

facebook.facebook.page.posts

List the posts published on your Facebook Page with their engagement counts

价格
free按供应商原价
成功率
100%近 30 天 · 194 次
延迟 p50
320 毫秒p95 1 秒
最后验证
—尚未验证
GEThttps://toolswitch.dev/v1/tools/facebook.facebook.page.posts预览
在线试用即将上线供应商文档 ↗
  • 可用平台额度调用
  • 同步返回
  • 读取公开数据

参数

needs the Page token, which treg injects once this Page is selected on the connection; with the user token Meta answers code 190 / subcode 2069032 ('A Page access token is required for this call'). page_id must be the selected Page. /feed is the wider edge (it also includes posts by visitors); /posts is the Page's own

参数类型必填说明示例
路径参数
page_id字符串必填numeric id of the Page selected on the connection123456789012345
查询参数
limit整数可选default 2525
since字符串可选Unix timestamp or YYYY-MM-DD2026-07-01
until字符串可选
fields字符串必填the .summary(true) suffixes turn the nested edges into counts instead of full listsid,message,created_time,permalink_url,shares,comments.summary(true).limit(0),reactions.summary(true).limit(0)
  • 路径参数
  • page_id字符串必填

    numeric id of the Page selected on the connection

    示例:123456789012345

  • 查询参数
  • limit整数可选

    default 25

    示例:25

  • since字符串可选

    Unix timestamp or YYYY-MM-DD

    示例:2026-07-01

  • until字符串可选
  • fields字符串必填

    the .summary(true) suffixes turn the nested edges into counts instead of full lists

    示例:id,message,created_time,permalink_url,shares,comments.summary(true).limit(0),reactions.summary(true).limit(0)

代码示例

将 $TOOLSWITCH_KEY 替换为你在控制台创建的密钥。

预览
curl -X GET 'https://toolswitch.dev/v1/tools/facebook.facebook.page.posts' \
  -H "X-Toolswitch-Key: $TOOLSWITCH_KEY"

网关接口为预览版,地址与鉴权方式可能调整。 示例参数仅为样例数据。 调用按 free 计费,已含服务费。