Skip to content
All sites
Data API

Facebook Data API

Public pages, posts and profile data from Facebook.

17endpointslogin_wall · Rate Limit handled for you
facebook.comGET/facebook/ads/…GET/facebook/ads/…GET/facebook/grou…{ } JSON
Example (captured live)
facebook.com
Example
JSON 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 Verified

Post Comments

Retrieve a post comment thread.

Handled for you:login_wallRate Limit
Parameters
NameTypeReqDescription
post_idstringyesPost id (story fbid).
Advanced filters
amountintegernoMaximum comments to return. (default: 50)
cursorstringnoPagination cursor from a previous response.
afterstringnoAlias of cursor (mbasic next-page token).