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
freeAu prix du fournisseur
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 onlineBientôtProvider docs ↗
  • Uses platform quota
  • Synchronous response
  • Reads public data

Paramètres

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

ParamètreTypeObligatoireDescriptionExemple
Paramètres de chemin
page_idchaîneObligatoirenumeric id of the Page selected on the connection123456789012345
Paramètres de requête
limitentierFacultatifdefault 2525
sincechaîneFacultatifUnix timestamp or YYYY-MM-DD2026-07-01
untilchaîneFacultatif
fieldschaîneObligatoirethe .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)
  • Paramètres de chemin
  • page_idchaîneObligatoire

    numeric id of the Page selected on the connection

    Exemple : 123456789012345

  • Paramètres de requête
  • limitentierFacultatif

    default 25

    Exemple : 25

  • sincechaîneFacultatif

    Unix timestamp or YYYY-MM-DD

    Exemple : 2026-07-01

  • untilchaîneFacultatif
  • fieldschaîneObligatoire

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

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

Exemples de code

Remplacez $TOOLSWITCH_KEY par la clé créée dans la console.

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

Cette API de passerelle est en préversion ; son URL et son authentification peuvent changer. Les paramètres de l’exemple sont des données fictives. Les appels sont facturés à free, frais de service inclus.