All sites
Data API
Facebook Data API
Public pages, posts and profile data from Facebook.
17endpointslogin_wall · Rate Limit handled for you
Example (captured live)
facebook.com
ExampleJSON responseclick the page to trace a field
{
"post_id": "pfbid02ktQwErTyUiOp",
"comments": [
{
"scraped_at": "2026-08-11T01:36:40.100100+00:00",
"author": "Dana Whitfield",
"author_url": "https://www.facebook.com/dana.whitfield",
"text": "This is amazing news, keep up the great work!"
},
{
"scraped_at": "2026-08-11T01:36:40.100210+00:00",
"author": "Luis Ferreira",
"author_url": "https://www.facebook.com/luis.ferreira",
"text": "Finally a company that walks the talk on sustainability."
},
{
"scraped_at": "2026-08-11T01:36:40.100320+00:00",
"author": "Aisha Rahman",
"author_url": "https://www.facebook.com/aisha.rahman",
"text": "Just placed my first order because of this. Love the plastic-free packaging."
}
]
}
GET
/v1/data/facebook/posts/{post_id}/comments1 credit / run VerifiedPost Comments
Retrieve a post comment thread.
Handled for you:login_wallRate Limit
Parameters
| Name | Type | Req | Description |
|---|---|---|---|
| post_id | string | yes | Post id (story fbid). |
| Advanced filters | |||
| amount | integer | no | Maximum comments to return. (default: 50) |
| cursor | string | no | Pagination cursor from a previous response. |
| after | string | no | Alias of cursor (mbasic next-page token). |