Facebook Profile & Post Scraper
Pricing
from $2.90 / 1,000 results
Facebook Profile & Post Scraper
Scrape Facebook profiles and posts. Get clean JSON with profile stats, media URLs, captions, comments, tagged users, and more.
Pricing
from $2.90 / 1,000 results
Rating
0.0
(0)
Developer
Headless Agent
Actor stats
1
Bookmarked
12
Total users
9
Monthly active users
11 days ago
Last modified
Categories
Share
Scrape Facebook user profiles and posts β no API key or login required. Get clean, formatted JSON with only the important fields. Supports profile URLs and post URLs as input.
π€ What can Facebook Profile & Post Scraper do?
This Actor lets you extract public data from Facebook profiles and posts in one place. Just provide profile URLs or post URLs and get structured results:
π€ Scrape any public Facebook profile β name, ID, bio, followers, likes, verification status, work, education, and more
π Extract post data β message text, hashtags, URLs, attachments (images/videos), reactions, and comments
β€οΈ Get full reaction breakdowns β total reactions plus per-type counts (Like, Love, Haha, Wow, etc.)
π¬ Get comments with replies β author info, text, timestamps, and nested replies
π Extract external links β Instagram, Twitter, YouTube, LinkedIn, website links from profiles
πΌοΈ Extract profile photos β recent photos from the profile's photo section
π¦ Download results in JSON, CSV, XML, or Excel from the Apify Dataset
π¦Ύ Integrate via API, webhooks, SDKs (Python & Node.js), or connect with tools like Zapier, n8n, Make, and more
β What data can I scrape from Facebook?
From profiles:
- π€ Name, profile ID, profile URL
- π» Gender, verification status
- πΌοΈ Profile picture and cover photo URLs
- π Likes count, followers count, following count
- π·οΈ Profile type (User or Page)
- π Bio / intro text
- π’ Category (for Pages)
- πΌ Work history and education
- π Current city, joined date
- π Contact info (address, phone, email, business hours, price range)
- π External links (Instagram, Twitter, website, etc.)
- πΈ Recent photos
From posts:
- π Post ID, post URL
- π€ Author name and ID
- π Message text
- π·οΈ Hashtags and URLs mentioned in the post
- π Attachments (images/videos with dimensions and captions)
- π₯ Tagged actors (people/pages mentioned)
- β€οΈ Reactions summary β total count + per-type breakdown
- π¬ Comments with author info, text, timestamps, reaction counts
- π Nested replies on comments
π§ How to scrape data from Facebook
- Create a free Apify account.
- Open Facebook Profile & Post Scraper.
- Add profile URLs and/or post URLs β use any combination.
- Optionally set a proxy URL to avoid rate limiting.
- Click Save & Start and wait for the data to be extracted.
- Download your data in JSON, CSV, XML, Excel, or access it via API.
β¬οΈ Input
All fields are optional, but at least one must be provided. You can use them independently or together in a single run.
| Field | Type | Description |
|---|---|---|
profileUrls | string[] | Facebook profile or page URLs (e.g. https://www.facebook.com/zuck) |
postUrls | string[] | Facebook post URLs (e.g. https://www.facebook.com/zuck/posts/pfbid0...) |
proxy | string | Optional proxy URL (http:// or socks5:// format) |
Example input
{"profileUrls": ["https://www.facebook.com/priscilla","https://www.facebook.com/modernatx"],"postUrls": ["https://www.facebook.com/zuck/posts/pfbid0gScCMnNJMohdCuH7mU6P7e6z3GfyQF6zpMBZwCzPkmuJBXmEBuhgV7MssGAZwd1cl",],"proxy": "http://user:pass@host:port"}
β¬οΈ Output
Results are pushed to the Apify Dataset. Each item has a type field ("profile" or "post") so you can easily filter and process them. You can export data in JSON, CSV, XML, Excel, or access it programmatically via the Apify API.
π€ User profile data sample
{"type": "profile","name": "Priscilla Chan","id": "140","url": "https://www.facebook.com/priscilla","gender": "female","verified": true,"profile_picture": "https://scontent.../244579863_10113957535838091_n.jpg?...","cover_photo": "https://scontent.../487942515_10116449322702241_n.jpg?...","likes": "3,078,658","followers": "3M","following": "133","joined": "","profile_type": "USER","profile_intro_text": "Loves cooking and soft things.\r\n\r\ni like the food network, warm places, sun dried tomatoes and diet a&w. i am a simple creature. \r\n\r\ngoing to be in peru this summer.","category": "Public figure","address": "","phone": "","email": "","business_hours": "","price_range": "","work": ["Founder at Biohub","Former 4th and 5th Grade Science Teacher at The Harker School","Former Resident Physician at UCSF Benioff Children's Hospitals","Former Director/Mentor at FASE"],"education": ["Studied at UCSF","Studied at University of California, San Francisco","Studied Biology at Harvard University","Studied at Harvard University","Went to Quincy High School"],"current_city": "Lives in Palo Alto, California","links": [],"photos": [{"link": "https://scontent.../459334148_10115820537393041_n.jpg?...","owner": { "type": "User", "id": "140" }}]}
π’ Page profile data sample
{"type": "profile","name": "Moderna, Inc. | Cambridge MA","id": "100069948937913","url": "https://www.facebook.com/modernatx","gender": "neuter","verified": true,"profile_picture": "https://scontent.../356888152_561191559555804_n.jpg?...","cover_photo": "https://scontent.../484087947_932917982383158_n.png?...","likes": "29,633","followers": "29K","following": "48","joined": "","profile_type": "PAGE","profile_intro_text": "Our mission is to deliver the greatest possible impact to people through mRNA medicines.","category": "Biotechnology Company","address": "325 Binney Street, Cambridge, MA, United States, Massachusetts","phone": "+1 617-714-6500","email": "info@modernatx.com","business_hours": "Always open","price_range": "","work": [],"education": [],"current_city": "","links": [{"title": "moderna_tx","link": "https://www.instagram.com/moderna_tx","icon": "https://static.xx.fbcdn.net/rsrc.php/yz/r/77rw1oPmYdg.webp"},{"title": "moderna_tx","link": "https://x.com/moderna_tx","icon": "https://static.xx.fbcdn.net/rsrc.php/yz/r/77rw1oPmYdg.webp"},{"title": "modernatx","link": "https://youtube.com/@modernatx","icon": "https://static.xx.fbcdn.net/rsrc.php/yz/r/77rw1oPmYdg.webp"},{"title": "linkedin.com/company/modernatx","link": "https://www.linkedin.com/company/modernatx/","icon": "https://static.xx.fbcdn.net/rsrc.php/yH/r/e_4VJ-xHGZI.webp"},{"title": "modernatx.com","link": "https://www.modernatx.com/","icon": "https://static.xx.fbcdn.net/rsrc.php/yF/r/iMZrDKSBhxd.webp"}],"photos": [{"link": "https://scontent.../536281947_1059130653095223_n.jpg?...","owner": { "type": "User", "id": "100069948937913" }}]}
π Post data sample
{"type": "post","url": "https://www.facebook.com/zuck/posts/pfbid0gScCMnNJMohdCuH7mU6P7e6z3GfyQF6zpMBZwCzPkmuJBXmEBuhgV7MssGAZwd1cl","post_id": "10117392482806831","author": {"name": "Mark Zuckerberg","id": "4"},"message": "Always a great time seeing these legends fight. Congrats Charles Oliveira, Caio Borralho, and Drew Dober. Max Holloway is always impressive. Best sport in the world.","hashtags": [],"urls": [],"attachments": [],"actors": [{"name": "Mark Zuckerberg","id": "4","url": "https://www.facebook.com/zuck","profile_picture": "https://scontent.../632598281_10117314650513371_n.jpg?..."}],"reactions_summary": {"total_reactions": 117904,"breakdown": [{ "type": "Like", "count": 97162 },{ "type": "Love", "count": 17152 },{ "type": "Care", "count": 2491 },{ "type": "Haha", "count": 484 },{ "type": "Wow", "count": 438 },{ "type": "Angry", "count": 129 },{ "type": "Sad", "count": 48 }]},"comments_summary": {"total_comments": 38056,"extracted_comments": 10},"comments": [{"id": "892846226910003","author": {"name": "Nick Jahr","url": null,"profile_picture": "https://scontent.../475154618_10212244667187971_n.jpg?..."},"text": "Charles didn't have a fight he had a hug fest","created_time": 1772999046,"reactions": 338,"replies": [],"reply_count": 0},{"id": "1887297778684607","author": {"name": "Delcio Marinho Goncalves","url": "https://www.facebook.com/delciomarinho","profile_picture": "https://scontent.../642784505_10215729309381652_n.jpg?..."},"text": "Zuck's got the comments, but can he get a round with Max Holloway? #UFCLife","created_time": 1772999161,"reactions": 82,"replies": [],"reply_count": 0}]}
π Integrations
You can connect Facebook Profile & Post Scraper with almost any cloud service or web app through Apify integrations. Connect with Zapier, n8n, Make, Slack, Google Sheets, Google Drive, Airbyte, GitHub, and many more.
You can also use webhooks to trigger actions whenever a run finishes β for example, getting a notification or automatically processing the scraped data.
π¦Ύ Using the Apify API
The Apify API gives you programmatic access to Facebook Profile & Post Scraper. You can start runs, fetch datasets, monitor execution, and integrate the scraper into your own workflows.
- Python: Use the
apify-clientPyPI package - Node.js: Use the
apify-clientNPM package
β FAQ
Can I scrape multiple profiles and posts in one run?
Yes. Both input fields (profileUrls, postUrls) accept arrays. You can provide multiple items in each field, and even use both fields together in a single run. Each result will have a type field so you can tell them apart.
What format are timestamps in?
Post timestamps (created_time) are Unix timestamps (seconds since epoch). You can convert them to a human-readable date using any standard date library or online converter. Profile joined dates are returned as human-readable strings (e.g. "May 2004").
Does the scraper work with private profiles?
No. The scraper can only extract data from public Facebook profiles and posts. Private profiles and posts behind privacy settings will not return data.
Can I use a proxy?
Yes. The optional proxy input field accepts HTTP and SOCKS5 proxy URLs. This is useful to avoid rate limiting or IP blocks when scraping at higher volumes.
Why are some fields empty?
Facebook profiles vary widely β not everyone fills in their work, education, phone, email, or other fields. The scraper extracts whatever is publicly available on the page. Empty strings or empty arrays mean that data wasn't found on the public profile.
Is it legal to scrape Facebook?
This scraper only extracts publicly available data. It does not access private accounts, login credentials, or any data behind authentication. However, scraped results could contain personal data protected by GDPR and other regulations. Ensure you have a legitimate reason for scraping and consult legal counsel if unsure. See also Apify's blog post on the legality of web scraping.

