
Facebook Profile Scraper (Private & Public)
Under maintenance
Pricing
$15.00/month + usage

Facebook Profile Scraper (Private & Public)
Under maintenance
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.
0.0 (0)
Pricing
$15.00/month + usage
1
Monthly users
23
Runs succeeded
>99%
Response time
12 hours
Last modified
a month ago
🤖 What does this Actor do?
The Facebook Profile Scraper enables you to extract posts from Facebook profiles. This includes:
- 💬 Post text and metadata
- 📷 Images and videos
- 👤 Author details
- 💬 Comments and replies (optional)
- ❤️ Reactions (optional)
- 👀 People tagged in the post (optional)
- 🌐 Translations to English (optional)
💡 Why scrape Facebook Profiles?
Facebook profiles contain a wealth of information useful for:
- 📊 Market research and audience analysis
- 🌍 Social media trend analysis
- 💬 Sentiment analysis of public discussions
- 📑 Archiving and research purposes
⚡ How to scrape Facebook Profiles
🔍 Prerequisites
You will need to provide your own Facebook session cookies. Follow the steps below to export your cookies.
🗂 Exporting Cookies (Using Cookie-Editor Extension)
- Open Google Chrome.
- Install the Cookie-Editor Chrome extension.
- Go to Facebook and log into your account.
- Change the language to English (if not already).
- Click the Cookie-Editor extension in your browser.
- Click Export to download your cookies as a JSON file.
- Copy the JSON content and provide it in the
cookies
field when running the scraper.
💧 Running the Scraper
- Click Try for free.
- Enter the URLs of the Facebook profiles you want to scrape.
- Paste your exported cookies in the
cookies
field. - Set the number of posts to scrape (
maxItems
). - (Optional) Enable scraping of comments, replies, shares, reactions, and tagged people.
- Click Run.
📂 Input Parameters
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.
Example Input:
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}
📊 Output Example
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}
🚀 Proxy Recommendations
Using Apify Residential Proxy is recommended to avoid detection and IP blocking when scraping Facebook.
Set up proxy settings under proxyConfiguration
.
⚖️ Legal Considerations
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.
🛠️ Troubleshooting
- Double-check cookie and proxy settings.
- Refresh cookies frequently to avoid being blocked.
- Ensure you have access to the Facebook profiles you are scraping.
- Monitor logs for error messages.
- Open an issue if you encounter any problems.
Happy Scraping! 🚀
Pricing
Pricing model
RentalTo use this Actor, you have to pay a monthly rental fee to the developer. The rent is subtracted from your prepaid usage every month after the free trial period. You also pay for the Apify platform usage.
Free trial
3 days
Price
$15.00