Facebook Posts Media & OCR Content Harvester avatar

Facebook Posts Media & OCR Content Harvester

Pricing

$24.99/month + usage

Go to Apify Store
Facebook Posts Media & OCR Content Harvester

Facebook Posts Media & OCR Content Harvester

This Facebook Posts Scraper extracts text posts, media, reactions, shares, comments, and metadata from public pages and profiles. Ideal for trend tracking, social listening, competitor analysis, and building large-scale Facebook intelligence.

Pricing

$24.99/month + usage

Rating

5.0

(2)

Developer

Scrapier

Scrapier

Maintained by Community

Actor stats

2

Bookmarked

98

Total users

5

Monthly active users

19 days ago

Last modified

Share

Extract the visual content of public Facebook Page posts: a clean per-post image-asset manifest (full-resolution URL, width, height, id, suggested filename), the OCR image-text captured from Facebook's accessibility captions, and the entities found in the text — links, emails, phone numbers, mentions, hashtags, prices, and call-to-action phrases.

This actor is a superset sibling of a standard Facebook Posts Scraper. Where a posts scraper measures a timeline, this actor harvests the creative the scrape already fetched — with zero extra Facebook requests. Every emitted value is a copy or transform of something actually scraped (image URI / dimensions / id, accessibility caption, post text). Nothing is modeled or fabricated.

What you get

  • 🖼️ Per-post image manifestcreative.images[] with url, width, height, id, ocrText, suggestedFilename, straight from media[].photo_image.
  • 📄 OCR image-textcreative.imageText + hasTextInImage, derived from Facebook's accessibility caption (media[].accessibility_caption). Surfaced by no standard Posts scraper.
  • 🔍 Entity extractioncreative.entities with real substrings of the text: urls, emails, phones, mentions, hashtags, prices, ctaMatches. Only non-empty types are attached.
  • 🏷️ Derived typephoto / video / link / text, inferred from the scraped media typenames and entities.
  • 📦 Run-level media manifest — a flat list of every image asset saved to the key-value store (MEDIA_MANIFEST) for bulk download, plus a MEDIA_INDEX summary (top OCR keywords, link domains, coverage counts).
  • 🤖 Optional AI enrichment — per-post sentiment, topics, brandSafety, and language over the creative free-text (caption + OCR), across multiple providers.

Output modes

InputBehaviour
defaultEach dataset row = the pristine base post fields plus a namespaced creative block and surfaced view fields (type, imageCount, imageText, entitySummary, scrapedAt).
metricsOnly: trueRows keep only identity fields + the creative block (drops the heavy base post payload).
rawData: trueRows are the plain base post objects, byte-identical to the base Facebook Posts Scraper. No creative block, no filtering.

Input

FieldTypeDefaultDescription
startUrlsarrayFacebook page URLs or usernames. Required.
resultsLimitinteger20Max posts per page.
captionTextbooleantrueInclude the post caption text (OCR/entity extraction runs over it).
onlyPostsNewerThanstringAbsolute (2024-01-01) or relative (7 days) start date.
onlyPostsOlderThanstringAbsolute or relative end date.
includeMediabooleantrueBuild the per-post image manifest.
extractEntitiesbooleantrueExtract links / hashtags / prices / CTAs / etc.
ocrKeywordsarray[]Keep only posts whose text or image-OCR contains any of these.
mediaManifestbooleantrueSave a run-level media manifest to the key-value store.
metricsOnlybooleanfalseDrop base post fields, keep only creative.
rawDatabooleanfalseReturn the plain base post array unchanged.
aiEnhancementbooleanfalseAdd AI sentiment / topics / brand-safety over the creative text.
aiModelenumclaude-haiku-4-5AI model; provider auto-detected from the name.
aiApiKeysecretAPI key for the AI provider (falls back to the provider env var).
proxyConfigurationobjectApify proxyResidential → datacenter fallback, or custom proxy URLs.

How it works

The scraping core discovers the page id and GraphQL doc_id from the live page, then fetches the timeline feed with cursor-based pagination — the identical, unmodified core the base scraper uses (so rawData output is byte-for-byte the base output). The Media & OCR feature layer runs entirely on the already-fetched data: it reads media[].photo_image, media[].accessibility_caption, media[].id, and the post text, and reshapes them into the image manifest, OCR text, and entity lists. No additional Facebook network calls are made by the feature layer.

Keywords

facebook posts scraper, facebook image extractor, facebook OCR, image text extraction, accessibility caption, facebook media manifest, facebook creative harvester, hashtag extraction, link extraction, CTA detection, facebook page monitoring, ad creative, brand safety, social media image download, facebook post entities.

This actor collects only publicly accessible data and does not bypass login restrictions or access private content. Use scraped data responsibly and in compliance with applicable laws and platform terms (GDPR, CCPA).