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

Price
freePelo preço do provedor
Success rate
100%Last 30 days · 194 calls
Latency p50
320 msp95 1 s
Last verified
—Not verified yet
GEThttps://toolswitch.dev/v1/tools/facebook.facebook.page.postsPreview
Try onlineEm breveProvider docs ↗
  • Uses platform quota
  • Synchronous response
  • Reads public data

Parâmetros

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

ParâmetroTipoObrigatórioDescriçãoExemplo
Parâmetros de caminho
page_idstringObrigatórionumeric id of the Page selected on the connection123456789012345
Parâmetros de consulta
limitinteiroOpcionaldefault 2525
sincestringOpcionalUnix timestamp or YYYY-MM-DD2026-07-01
untilstringOpcional
fieldsstringObrigatóriothe .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)
  • Parâmetros de caminho
  • page_idstringObrigatório

    numeric id of the Page selected on the connection

    Exemplo: 123456789012345

  • Parâmetros de consulta
  • limitinteiroOpcional

    default 25

    Exemplo: 25

  • sincestringOpcional

    Unix timestamp or YYYY-MM-DD

    Exemplo: 2026-07-01

  • untilstringOpcional
  • fieldsstringObrigatório

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

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

Exemplos de código

Substitua $TOOLSWITCH_KEY pela chave criada no console.

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

Esta API de gateway está em prévia; a URL e a autenticação podem mudar. Os parâmetros do exemplo são dados de amostra. As chamadas são cobradas a free, incluindo a taxa de serviço.