Get posts from a Facebook page by page ID. Returns post content, engagement metrics (reactions, comments, shares), author data, and media. Supports pagination and date filtering.
curl "https://apidirect.io/v1/facebook/page/posts?page_id=139654476388086&start_date=2026-01-01&end_date=2026-03-01" \
-H "X-API-Key: YOUR_API_KEY"
{
"posts": [
{
"post_id": "139654476388086_987654321",
"url": "https://www.facebook.com/Meta/posts/987654321",
"message": "We are excited to announce our latest updates to the platform...",
"sentiment": {
"emotions": {
"joy": 40,
"trust": 55,
"fear": 0,
"surprise": 10,
"sadness": 0,
"disgust": 0,
"anger": 0,
"anticipation": 30
},
"dominant_emotion": "trust",
"emotional_intensity": 5,
"polarity": "positive"
},
"date": "2026-02-15 10:30:00",
"timestamp": 1771148200,
"author_name": "Meta",
"author_id": "139654476388086",
"author_url": "https://www.facebook.com/Meta",
"author_profile_picture": "https://scontent.xx.fbcdn.net/v/t39.30808-1/...",
"comments_count": 1250,
"reactions_count": 8430,
"reshare_count": 2100,
"reactions": {"like": 5200, "love": 1800, "wow": 430, "haha": 500, "sad": 200, "angry": 300},
"image_url": "https://scontent.xx.fbcdn.net/v/t39.30808-6/...",
"video": null,
"external_url": null
}
],
"count": 1,
"pages": 1
}