Facebook Page Post Scraper avatar

Facebook Page Post Scraper

Pricing

from $0.01 / 1,000 results

Go to Apify Store
Facebook Page Post Scraper

Facebook Page Post Scraper

Powerful Facebook Page scraper that extracts posts, engagement metrics (likes, comments, shares), images, videos, and posting dates from any public Facebook Page. Perfect for competitive analysis, content research, and social media monitoring.

Pricing

from $0.01 / 1,000 results

Rating

1.0

(1)

Developer

The Howlers

The Howlers

Maintained by Community

Actor stats

3

Bookmarked

217

Total users

2

Monthly active users

17 days ago

Last modified

Features

Limited permissions

Share

Scrape public Facebook Pages. Without any login, the actor reads each Page's public info the way a logged-out visitor sees it: follower count, Page likes (when Facebook still shows them), "talking about this", check-ins, category, the start of the intro, and the post Facebook shows at the top of the Page. With your own Facebook session cookies it also scrapes the Page's posts: text, images, videos, links, engagement counts (likes, comments, shares) and dates. Built for competitive research, content audits and social media monitoring.

Every value comes from the Page as Facebook served it. A value Facebook does not show is null, never a guess.


What you get, with and without cookies

Without cookiesWith your session cookies
Followers, likes, talking about this, check-insYes (one page row per Page)Yes
Category, intro, profile picture, Page idYesYes
The post at the top of the Page (latestPublicPost: text, date, reactions, comments, shares)YesYes
Post feed (up to maxPostsPerPage posts with engagement)No, Facebook shows Page feeds only to logged-in visitorsYes (post rows)

Public Page lookups use the Camoufox stealth browser through Apify residential proxy, one Page at a time, reusing a proxy session across Pages and switching to a new one when Facebook refuses a visit. Only the Page's HTML document is loaded (no images or scripts), which keeps runs fast and light.


Step 1: make sure you have a Page URL

This actor reads Facebook Pages: businesses, brands and public figures. Groups, single posts, share links and videos are refused at the start with a reason in the log.

URL shapeWhat it isWorks?
facebook.com/metaPageYes
facebook.com/Coca-ColaPageYes
facebook.com/profile.php?id=61556916315095A Page made since 2023 (new Pages use this form), or a personal profileYes when it is a Page; a personal profile gets status: "not_a_page" and is not charged
facebook.com/people/Name/61556916315095/Same as aboveSame as above
facebook.com/some.nameUsually a personal profile, sometimes a Page usernameSame as above
facebook.com/groups/12345GroupNo
facebook.com/share/p/abc123Share link to a single postNo
facebook.com/meta/posts/123Single postNo, use facebook.com/meta
facebook.com/watch/...VideoNo

To find a business's Page, search for it on Facebook, open the result labeled "Page", and copy the address from the browser bar.


Step 2: try it

Public Page info, no login

{
"pageUrls": ["https://www.facebook.com/meta"]
}

Posts with your own cookies

{
"pageUrls": ["https://www.facebook.com/meta"],
"maxPostsPerPage": 25,
"sessionCookies": "[{\"name\":\"c_user\",\"value\":\"...\",\"domain\":\".facebook.com\"}]"
}

How to get cookies (5 minutes):

  1. Install the Cookie-Editor browser extension.
  2. Log into Facebook in the same browser.
  3. Click the Cookie-Editor icon while on facebook.com.
  4. Click "Export", then "Export as JSON".
  5. Paste the result into the sessionCookies field.

Use an account you own. Heavy scraping from one account can trigger Facebook's anti-automation checks. If the logged-in page does not show a Page's follower count, the actor reads that Page once more as a logged-out visitor.

Sample output only

Set demoMode to true to get labeled sample posts (demo: true with a _notice) that show the post format. Sample runs charge no page or post events.


Output

The default dataset has one page row per Page (unless includePageInfo is off) and, with cookies, one post row per post.

Page row (resultType: "page")

{
"resultType": "page",
"status": "ok",
"requestedUrl": "https://www.facebook.com/beyondwowplumbing/",
"pageUrl": "https://www.facebook.com/beyondwowplumbing",
"pageId": "206981846005241",
"pageName": "Beyond Wow Plumbing",
"category": "Plumbing Service",
"followers": 2721,
"likes": null,
"following": 142,
"talkingAbout": 276,
"checkins": 100,
"followersRounded": false,
"followersLabel": "2.7K followers",
"introPreview": "Trust Beyond Wow! Service That's Light Years Ahead. Celebrating...",
"profilePictureUrl": "https://scontent...",
"verified": false,
"latestPublicPost": {
"postId": "1584789297004137",
"url": "https://www.facebook.com/beyondwowplumbing/posts/pfbid0Dt6...",
"text": "Skipping maintenance might feel harmless now...",
"postedAt": "2026-11-02T18:02:28.000Z",
"reactions": 2,
"comments": 1,
"shares": 1
},
"loggedIn": false,
"scrapedAt": "2026-11-03T15:30:00.000Z"
}
FieldMeaning
statusok, not_found (Facebook shows "This content isn't available right now"), not_a_page (a personal profile), blocked or error (with message)
followersFollowers from the Page summary Facebook publishes (exact). If only the header label was shown, it is read from that and followersRounded is true
likesPage likes, only for Pages where Facebook still shows them; most Pages now show followers only
following, talkingAbout, checkinsAs Facebook shows them ("were here" is checkins)
introPreviewThe start of the Page intro as Facebook shortens it in the summary
latestPublicPostThe post Facebook shows logged-out visitors at the top of the Page, normally the newest one

Post row (resultType: "post", needs cookies)

{
"resultType": "post",
"postId": "fb-1584789297004137",
"pageId": "beyondwowplumbing",
"pageName": "Beyond Wow Plumbing",
"pageUrl": "https://www.facebook.com/beyondwowplumbing",
"postUrl": "https://www.facebook.com/beyondwowplumbing/posts/...",
"content": "Full post text up to 10,000 characters",
"contentPreview": "First 200 characters",
"postType": "image",
"imageUrls": ["https://scontent..."],
"likes": 12,
"comments": 3,
"shares": 1,
"postedAt": "2026-11-02T18:02:28.000Z",
"isSponsored": false,
"isPinned": false,
"scrapedAt": "2026-11-03T15:30:00.000Z"
}

The OUTPUT record in the key-value store lists every Page with its status.


Input parameters

ParameterTypeDefaultDescription
pageUrlsarray of strings[]Facebook Page URLs (see Step 1)
pageUsernamesarray of strings[]Page handles, for example meta or Nike
includePageInfobooleantrueOne row per Page with its public follower count, likes, category, intro and top post. Works without cookies
maxPostsPerPageinteger25Posts per Page (1 to 100), with cookies
includeCommentsbooleanfalseTop comments under each post, with cookies
maxCommentsPerPostinteger10Comments per post (1 to 50)
dateFromstring-YYYY-MM-DD. Only keep posts on or after this date
dateTostring-YYYY-MM-DD. Only keep posts on or before this date
contentTypestring"all"all, text_only, with_images, with_videos, with_links
sessionCookiesstring (secret)-Your Facebook cookies as a JSON array (Cookie-Editor export). Needed for posts, not for Page info
cookieStorageKeystring-Instead of sessionCookies: load cookies saved by the Cookie Manager actor
cookieKvStoreNamestring-Name or ID of the key-value store where Cookie Manager saved your session (its default is cookie-sessions). If it cannot be read, the run logs why and continues without cookies
webhookUrlstring-POST the results to a webhook (Zapier, Make, n8n, custom)
webhookPlatformstring"custom"zapier, make, n8n or custom; shapes the payload
webhookHeadersobject{}Extra HTTP headers for the webhook
proxyConfigurationobjectApify RESIDENTIALProxy settings. Residential is recommended for Facebook
demoModebooleanfalseReturn labeled sample posts instead of scraping

Pricing

This actor uses pay-per-event billing:

EventWhen it is chargedPrice
Actor startOnce when the run starts, one event per GB of memory (minimum one). At the default 2 GB of memory a run starts at $0.20$0.10 per GB
Page ScrapedCharged per Facebook page scraped$0.05
Post ScrapedCharged per post extracted$0.005
ResultEach item written to the default dataset$0.00001

Page Scraped is charged once per Page, when its public info (a follower or like count) was read or when it yielded posts. Pages that were not found, are personal profiles, or could not be read are not charged. Post Scraped is charged per post row; the latestPublicPost inside a page row is not charged separately. Demo Mode charges no page or post events.


Troubleshooting

"No valid Page URLs in input"

Every URL was refused before any work. The run log gives a reason for each one: usually a group, share link, single post or video link. Use the Page's main address (facebook.com/PageName).

status: "not_found"

Facebook shows "This content isn't available right now" for that address to logged-out visitors. The Page does not exist, was removed, or is limited by age or country. Open it in a private browser window to check.

status: "not_a_page"

The address is a personal profile. This actor reads Pages only.

No post rows

Facebook shows Page feeds only to logged-in visitors. Add sessionCookies (see Step 2). If you did and still get none, the cookies may have expired: export them again. A dateFrom/dateTo window or a contentType filter can also exclude every post.

Many retries in the log

Facebook refused a visit from one proxy address and the actor retried from another. Keep the residential proxy (the default) and avoid very large batches in one run.


Built by John Rippy | Actor Arsenal