VOOZH about

URL: https://apify.com/igolaizola/facebook-profile-scraper

⇱ Facebook Profile Scraper (Private & Public) Β· Apify


πŸ‘ Facebook Profile Scraper (Private & Public) avatar

Facebook Profile Scraper (Private & Public)

Pricing

$15.00/month + usage

Go to Apify Store

Facebook Profile Scraper (Private & Public)

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.

Pricing

$15.00/month + usage

Rating

3.0

(3)

Developer

πŸ‘ IΓ±igo Garcia Olaizola

IΓ±igo Garcia Olaizola

Maintained by Community

Actor stats

9

Bookmarked

2.2K

Total users

55

Monthly active users

5 months ago

Last modified

Share

πŸ€– 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 (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)

  1. Open Google Chrome.
  2. Install the Cookie-Editor Chrome extension.
  3. Go to Facebook and log into your account.
  4. Change the language to English (if not already).
  5. Click the Cookie-Editor extension in your browser.
  6. Click Export to download your cookies as a JSON file.
  7. Copy the JSON content and provide it in the cookies field when running the scraper.

πŸ’§ Running the Scraper

  1. Click Try for free.
  2. Enter the URLs of the Facebook profiles you want to scrape.
  3. Paste your exported cookies in the cookies field.
  4. Set the number of posts to scrape (maxItems).
  5. (Optional) Enable scraping of comments, replies, shares, reactions, and tagged people.
  6. Click Run.

πŸ“‚ Input Parameters

ParameterTypeDescription
urlsarrayList of Facebook profile URLs to scrape (required).
cookiesarrayJSON exported from Cookie-Editor containing authentication cookies.
maxItemsintegerMaximum number of posts to scrape (default: 10).
endDatestringScrape posts until this date (format: YYYY-MM-DD).
commentsbooleanScrape comments (default: false).
maxCommentsintegerMaximum number of comments to scrape per post (default: 10).
proxyConfigurationobjectProxy settings (Apify Residential Proxy recommended).

⚠️ IMPORTANT: Enabling comments, replies, shares, reactions, and peopleWith may significantly increase the runtime.

Example Input:

{
"urls":["https://www.facebook.com/zuck"],
"cookies":[
{"name":"c_user","value":"123456","domain":".facebook.com"}
],
"maxItems":20,
"comments":true,
"reactions":true,
"proxyConfiguration":{
"useApifyProxy":true,
"apifyProxyGroups":["RESIDENTIAL"]
}
}

πŸ“Š Output Example

{
"id":"1234567890",
"attached_id":"",
"pinned":false,
"created_at":"2024-02-01T12:34:56Z",
"permalink":"https://www.facebook.com/zuck/posts/1234567890",
"author":{
"id":"123456",
"name":"Mark Zuckerberg",
"url":"https://www.facebook.com/zuck",
"image":"https://example.com/avatar.jpg"
},
"message":"Hello, world!",
"translation":"",
"comment_count":5,
"reaction_count":20,
"share_count":3,
"comments":[
{
"id":"987654321",
"author":{"id":"654321","name":"John Doe"},
"message":"Great post!",
"created_at":"2024-02-01T13:00:00Z"
}
],
"images":[{"id":"img1","url":"https://example.com/image.jpg"}],
"videos":[{"id":"vid1","url":"https://example.com/video.mp4"}],
"links":["https://example.com"],
"reactions":[
{"author":{"id":"999999","name":"Jane Doe"},"reaction_id":"like"}
],
"profile_url":"https://www.facebook.com/zuck",
"profile_name":"Mark Zuckerberg"
}

πŸš€ 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! πŸš€

You might also like

Facebook Posts Scraper

scrapier/facebook-posts-scraper

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.

Facebook profile and page scraper

curious_coder/facebook-profile-scraper

Scrape facebook profiles and pages in bulk and get important details such as email, social media urls, website and contact info.

3.9K

3.0

Facebook Profile & Posts Scraper

cleansyntax/facebook-profile-posts-scraper

Fetch public Facebook profile data with one tool. Collect profile posts, get profile details by page ID/URL, or get a profile ID from a URL.

FB Profile Scraper

devwithbobby/fb-profile-scraper

Scrape data from any public FB Profile

πŸ‘ User avatar

Dev with Bobby

784

Facebook Profile Scraper

scrapers-hub/facebook-profile-scraper

Facebook profile scraper to extract data from Facebook profiles, including names, bios, and public contact details πŸ“ŠπŸ“± Perfect for lead generation, market research, and targeted outreach. Fast, accurate, and scalable data extraction.

31

Facebook Profile/Page Scraper (No Cookies)

mina_safwat/facebook-profile-scraper

Want to easily scrape any Facebook profile posts to gather engagement data and see what your competitors are doing on Facebook? This tool is simple and straightforward

Facebook Profile Scraper

lazyscraper/facebook-profile-scraper

This tool efficiently extracts public profile data from specified Facebook accounts, including: Email addresses (if publicly listed) 、Bio、User ID、Profile URL. Key Advantage: For public profiles, it delivers accurate follower/fan counts – a critical metric most competitors fail to provide reliably.

983

3.1

Facebook page contact info Scraper

apify/facebook-page-contact-information

Get Facebook pages addresses, email, likes, website, check-ins, and phone information

Facebook Pages Scraper

apify/facebook-pages-scraper

Extract basic data from multiple Facebook Pages or Profiles. Extract Facebook page details, website, email, address, messenger, likes, followers, rating, ad running status, and other public data. Export scraped data, schedule scraper via API, integrate with other tools or AI workflows.