API Direct
Endpoints
Facebook Post Comments

Facebook Post Comments

GET /v1/facebook/post/comments

Get comments on a Facebook post by post ID. Returns each comment's text, author details, reaction and reply counts, publication date, and any sticker, GIF, image, or video attachment. Supports fetching multiple pages in a single call.

Cost
$0.008 per page
Free tier
50 requests/month

Parameters

post_id *
Facebook post ID (from Page Posts, Group Posts, or Search Posts). Accepts pfbid and numeric IDs.
pages
Number of pages to fetch (1-10, default 1). Billed per page.
get_sentiment
Set to true to add AI emotion analysis (+$0.001/page)

Example Request

curl "https://apidirect.io/v1/facebook/post/comments?post_id=pfbid02BzYRNmoznsZjci5FuztPUb9mKd9ameNVYSBweaBEvb8oEzSMjcs8nbXnMkYA5Benl" \
  -H "X-API-Key: YOUR_API_KEY"

Example Response

{
  "comments": [
    {
      "comment_id": "Y29tbWVudDo5NDM5NDIxODExMTExMzZfMTIxNzA1OTI3NjU2OTgwNw==",
      "legacy_comment_id": "1217059276569807",
      "message": "Even the dog wants to dominate AI",
      "date": "2025-07-03 19:25:36",
      "timestamp": 1751570736,
      "author_name": "Gerson Stefano",
      "author_id": "100006584266587",
      "author_url": "https://www.facebook.com/Gerson.Stefano.48",
      "author_gender": "MALE",
      "author_profile_picture": "https://scontent.xx.fbcdn.net/v/t39.30808-1/462473244_..._n.jpg",
      "replies_count": 0,
      "reactions_count": 0,
      "is_sticker": false,
      "sticker_url": null,
      "is_gif": false,
      "gif": null,
      "image": null,
      "video": null
    }
  ],
  "count": 1,
  "pages": 1
}

Your Usage

Free tier this month
Loading...
Recent Activity