Extract Facebook private or public profile posts, including text, images, videos, comments, reactions, and shares. Supports scraping tagged people and translations. Use authentication cookies for access. Ideal for market research, sentiment analysis, and social media monitoring.
The Facebook Profile Scraper enables you to extract posts from Facebook profiles. This includes:
Facebook profiles contain a wealth of information useful for:
You will need to provide your own Facebook session cookies. Follow the steps below to export your cookies.
cookies
field when running the scraper.cookies
field.maxItems
).Parameter | Type | Description |
---|---|---|
urls | array | List of Facebook profile URLs to scrape (required). |
cookies | array | JSON exported from Cookie-Editor containing authentication cookies. |
maxItems | integer | Maximum number of posts to scrape (default: 10). |
endDate | string | Scrape posts until this date (format: YYYY-MM-DD). |
comments | boolean | Scrape comments (default: false). |
replies | boolean | Scrape replies to comments (default: false). |
shares | boolean | Scrape shares (default: false). |
reactions | boolean | Scrape reactions (default: false). |
peopleWith | boolean | Scrape people tagged in posts (default: false). |
translations | boolean | Translate posts and comments to English (default: false). |
proxyConfiguration | object | Proxy settings (Apify Residential Proxy recommended). |
⚠️ IMPORTANT: Enabling
comments
,replies
,shares
,reactions
, andpeopleWith
may significantly increase the runtime.
1{ 2 "urls": ["https://www.facebook.com/zuck"], 3 "cookies": [ 4 { "name": "c_user", "value": "123456", "domain": ".facebook.com" } 5 ], 6 "maxItems": 20, 7 "comments": true, 8 "reactions": true, 9 "proxyConfiguration": { 10 "useApifyProxy": true, 11 "apifyProxyGroups": ["RESIDENTIAL"] 12 } 13}
1{ 2 "id": "1234567890", 3 "attached_id": "", 4 "pinned": false, 5 "created_at": "2024-02-01T12:34:56Z", 6 "permalink": "https://www.facebook.com/zuck/posts/1234567890", 7 "author": { 8 "id": "123456", 9 "name": "Mark Zuckerberg", 10 "url": "https://www.facebook.com/zuck", 11 "image": "https://example.com/avatar.jpg" 12 }, 13 "message": "Hello, world!", 14 "translation": "", 15 "comment_count": 5, 16 "reaction_count": 20, 17 "share_count": 3, 18 "comments": [ 19 { 20 "id": "987654321", 21 "author": { "id": "654321", "name": "John Doe" }, 22 "message": "Great post!", 23 "created_at": "2024-02-01T13:00:00Z" 24 } 25 ], 26 "images": [{ "id": "img1", "url": "https://example.com/image.jpg" }], 27 "videos": [{ "id": "vid1", "url": "https://example.com/video.mp4" }], 28 "links": ["https://example.com"], 29 "reactions": [ 30 { "author": { "id": "999999", "name": "Jane Doe" }, "reaction_id": "like" } 31 ], 32 "profile_url": "https://www.facebook.com/zuck", 33 "profile_name": "Mark Zuckerberg" 34}
Using Apify Residential Proxy is recommended to avoid detection and IP blocking when scraping Facebook.
Set up proxy settings under proxyConfiguration
.
Scraping Facebook is subject to Facebook's Terms of Service. You should ensure that you have the legal right to scrape any data and comply with all relevant laws and regulations.
Happy Scraping! 🚀
Yes, if you're scraping publicly available data for personal or internal use. Always review Websute's Terms of Service before large-scale use or redistribution.
No. This is a no-code tool — just enter a job title, location, and run the scraper directly from your dashboard or Apify actor page.
It extracts job titles, companies, salaries (if available), descriptions, locations, and post dates. You can export all of it to Excel or JSON.
Yes, you can scrape multiple pages and refine by job title, location, keyword, or more depending on the input settings you use.
You can use the Try Now button on this page to go to the scraper. You’ll be guided to input a search term and get structured results. No setup needed!