Facebook Posts Scraper avatar
Facebook Posts Scraper
Under maintenance

Pricing

$25.00/month + usage

Go to Apify Store
Facebook Posts Scraper

Facebook Posts Scraper

Under maintenance

Extract posts from Facebook public and private profiles with engagement metrics, timestamps, and post content. Scraper is designed for content analysis, social listening, competitive intelligence, and marketing automation, while remaining flexible for advanced scraping workflows.

Pricing

$25.00/month + usage

Rating

0.0

(0)

Developer

SASWAVE

SASWAVE

Maintained by Community

Actor stats

1

Bookmarked

1

Total users

0

Monthly active users

4 days ago

Last modified

Share

Facebook Posts scraper

Extract posts from Facebook public and private profiles with engagement metrics, timestamps, and post content.

Scraper is designed for content analysis, social listening, competitive intelligence, and marketing automation, while remaining flexible for advanced scraping workflows.

🔍 What This Scraper Does

The Facebook Posts Scraper allows you to:

📄 Extract posts from public Facebook pages

🔒 Extract posts from private profiles (with an authenticated session)

📊 Collect engagement data (reactions, comments, shares)

🕒 Retrieve post publication dates

🔗 Get direct post URLs

🧠 Analyze post text and hashtags

  • install "Copy Cookies" chrome extension
  • login to your account and go to your linkedin home page
  • Use the extension (clicking will copy cookies)
  • Paste the cookies in the input "cookies" from the actor

How to provide Device Headers

Facebook requires realistic browser fingerprints.

You must provide device & browser headers to avoid blocks.

  • Login to your facebook account

  • Go to homepage: https://www.facebook.com/

  • Open your browser console (right clic > inspect > Console)

  • Paste and execute this script, it will extract device headers

javascript:(()=>{const d={userAgent:navigator.userAgent||null,platform:navigator.platform||null,languages:navigator.languages&&navigator.languages.length?navigator.languages:[navigator.language].filter(Boolean),deviceMemory:typeof navigator.deviceMemory==="number"?navigator.deviceMemory:null,hardwareConcurrency:typeof navigator.hardwareConcurrency==="number"?navigator.hardwareConcurrency:null,screenWidth:screen?.width??null,screenHeight:screen?.height??null,colorDepth:screen?.colorDepth??null,pixelRatio:typeof devicePixelRatio==="number"?devicePixelRatio:1,timezone:Intl.DateTimeFormat().resolvedOptions().timeZone||null,webdriver:navigator.webdriver===true,plugins:Array.from(navigator.plugins||[]).map(p=>p.name),mimeTypes:Array.from(navigator.mimeTypes||[]).map(m=>m.type),touchSupport:("ontouchstart"in window)||navigator.maxTouchPoints>0,doNotTrack:navigator.doNotTrack??window.doNotTrack??navigator.msDoNotTrack??null};const s=JSON.stringify(d,null,2);try{navigator.clipboard.writeText(s).then(()=>alert("Copied device/browser JSON to clipboard. Paste into Apify."),()=>prompt("Copy this JSON:",s));}catch(e){prompt("Copy this JSON:",s);}})();
  • When popup appear , copy the highlighted text and close popup

  • Paste the copied JSON into the actor input field Device Headers

Features

📥 Extract posts from public & private profiles

📊 Engagement metrics:

Reactions count

Comments count

Shares count

📝 Full post text extraction

🕒 Publication date & time

🔗 Direct post URLs

⚙️ Device fingerprint & session-based scraping

🧠 Suitable for automation, analytics, and monitoring

Use Cases

📈 Social Media Monitoring

Track posts from competitors

Monitor brand mentions

Analyze content performance

📊 Marketing & Content Strategy

Identify high-performing posts

Analyze hashtags and messaging

Optimize posting strategies

🧠 Market & Opinion Research

Analyze public reactions to announcements

Monitor trends and sentiment

Study engagement behavior

🤖 Automation & Data Pipelines

Feed data into BI tools or dashboards

Power AI models for content analysis

Store posts in databases or CRMs

OUTPUT

Posts

{
"reaction_count": 13,
"share_count": 1,
"comments_count": 1,
"date_published": "2022-05-02 17:32:02",
"post_id": "1997347187103794",
"text": "Hello la #TeamBruce !\n\nDu fait de la forte inflation enregistrée depuis le mois de novembre, le Smic (salaire minimum interprofessionnel de croissance) a augmenté automatiquement le 1er mai de 2,65%.\n\nAinsi, le Smic horaire brut s’établit désormais à 10,85 euros, soit 1 645,58 euros brut par mois sur la base de 35 heures, et 1 302,64 euros net.\n\n➡️ Pour rappel, le Smic avait déjà été rehaussé de 0,9% en janvier dernier après une hausse exceptionnelle de 2,2% en octobre, déjà due à l’inflation. \n\n#salaire #inflation #economie",
"url": "https://www.facebook.com/TeamBruceFr/posts/pfbid0XqySVDfz3YLXyk1di5cednwWTiDe37eh7WSK82RfW946k5A9MJ4XumgfpPWhkjPgl"
}

🛟 SUPPORT

Share your runs with the developer team and create issues on error to help us improve actor quality.

You might discover edge case we didn't test yet

We stay available anytime