facebook-post

One public Facebook post as one row: id, URL, author, text, time posted, reactions in total and by type, comments, shares, photos and videos, and where it was posted. post is the post's facebook.com URL (/posts/, permalink.php, photo, videos, reel or share link). About 5-25 s; when the page fails, a slower second source answers (about 40 s). session (optional) = your c_user and xs cookies. You supply your own session. Crawl4AI uses it for this run only and does not store it. Your account and the site's terms are your responsibility.

stagedfacebook.comWASM module14 fields1-2 pages; 1 record when it falls backfresh 30 min
‹ Recipes
…json
POST api.crawl4ai.com/recipes/…

$ crawl recipe

              
Live · your key · counts against your quota✓ 200 OK
# Hit Run - the rows render here as a table, with the cost

Fields

14 columns on every row. null means the site does not state it.
fieldtypemeaning
post_idstringFacebook's id of the post (digits, as a string).
urlstringThe post's own address on facebook.com.
author_namestringThe name of the profile or page that posted it.
author_idstringFacebook's id of that profile or page.
author_urlstringThe address of that profile or page; null on a reel's page, which names the author only by id.
page_idstringThe id of the Facebook Page behind the author (a page, or a person in professional mode); null for a plain personal profile and for a reel read from our page.
textstringThe post's whole text; null for a post with no text.
created_atstringWhen it was posted, ISO 8601 UTC.
reactionsintegerAll reactions together, as Facebook counts them.
reactions_by_typeobjectReactions per type in Facebook's names ({"Like": 2341, "Love": 1519}); a type nobody used is absent; empty for a reel read from our page (its page shows only the total).
commentsintegerHow many comments, replies included, as Facebook counts them.
sharesintegerHow many times it was shared; for a reel, as Facebook shortens it ("1.1K" read as 1100); null when Facebook shows no count.
mediaobject[]Each photo or video as {type, id, url, video_url}: url is the picture (a video's still image), video_url the playable file; signed by Facebook, they stop working after some days.
posted_toWhere it was posted when that is not the author's own timeline, {name, id, url}; null otherwise, and on the second source.

null means the site does not state it.

post_idstringFacebook's id of the post (digits, as a string).
urlstringThe post's own address on facebook.com.
author_namestringThe name of the profile or page that posted it.
author_idstringFacebook's id of that profile or page.
author_urlstringThe address of that profile or page; null on a reel's page, which names the author only by id.
page_idstringThe id of the Facebook Page behind the author (a page, or a person in professional mode); null for a plain personal profile and for a reel read from our page.
textstringThe post's whole text; null for a post with no text.
created_atstringWhen it was posted, ISO 8601 UTC.
reactionsintegerAll reactions together, as Facebook counts them.
reactions_by_typeobjectReactions per type in Facebook's names ({"Like": 2341, "Love": 1519}); a type nobody used is absent; empty for a reel read from our page (its page shows only the total).
commentsintegerHow many comments, replies included, as Facebook counts them.
sharesintegerHow many times it was shared; for a reel, as Facebook shortens it ("1.1K" read as 1100); null when Facebook shows no count.
mediaobject[]Each photo or video as {type, id, url, video_url}: url is the picture (a video's still image), video_url the playable file; signed by Facebook, they stop working after some days.
posted_toWhere it was posted when that is not the author's own timeline, {name, id, url}; null otherwise, and on the second source.

How it behaves

Cost. 1-2 pages; 1 record when it falls back. A failed run costs 0.

Freshness 30 min. The same input within 30 min is served from cache at 0 units.

How it answers. Answers at once for one input; a large run goes as a job you poll.

Questions about this recipeQuestions

Short answers. The API reference has the long ones.

Call POST /recipes/facebook-post with your key and post. You get rows with the 14 fields above. The recipe is tested against the live site every 6 hours.

Need more from Facebook?

Extra fields, higher volume, or a private copy with a freshness SLA. We build it on Enterprise.

Request a change

For developers

Get a free API key and run your first crawl.

1,000 credits every month. No credit card. Your self-hosted setup keeps working.

For teams

Talk to us about volume, regions and an SLA.

A 30-minute call with the team that writes the crawler. DPA on request, invoice billing, your choice of US, EU or Singapore.