Facebook Pages Detail (E-mail, phone, website) Scraper avatar

Facebook Pages Detail (E-mail, phone, website) Scraper

Try for free

2 hours trial then $10.00/month - No credit card required now

View all Actors
Facebook Pages Detail (E-mail, phone, website) Scraper

Facebook Pages Detail (E-mail, phone, website) Scraper

memo23/facebook-page-contact-detail-scraper
Try for free

2 hours trial then $10.00/month - No credit card required now

Get Facebook pages addresses, category, email, mobile, likes, website, ratings, hours open, check-ins, and phone information and social platform links

Facebook Page Contact Detail Scraper

How it works

This actor allows you to scrape Facebook pages contact details information such as addresses, category, email, mobile, likes, website, ratings, hours open, check-ins, and phone information and social platform links

Features

Multiple page links: Supports scraping based on multiple page URLs, formatted as https://www.facebook.com/groups/group-name-or-group-id or just copy and paste group from facebook :) Required Authentication over cookies: Users can log in to access a broader range groups. Customizable: Flexible configuration options to suit various scraping needs.

How to Use

  1. Set Up: Ensure you have an Apify account and access to the Apify platform.
  2. Install EditThisCookie chrome extension.
  3. Login to your facebook account
  4. While you are on facebook tab, Click on the extension and export the cookies
  5. Paste the cookies to this actor's Cookie input field
  6. Specify the Facebook page URL you want to scrape. Input your search URLs in the format https://www.facebook.com/groups/group-name-or-group-id. You can add multiple URLs for a broader search scope.
  7. (Optional) Configure proxy settings for enhanced reliability.
  8. Run the actor and obtain the extracted data in your preferred format.
  9. Data Collection: The scraper will output data in your chosen format, which can include JSON, HTML, CSV, Excel, or others as supported by Apify.

Input Data

Here's a simple example of how to set up a search for page details in Facebook:

1{
2    "cookies": [
3        {
4            "domain": ".facebook.com",
5            "expirationDate": 1740231415.466268,
6            "hostOnly": false,
7            "httpOnly": false,
8            "name": "c_user",
9            "path": "/",
10            "sameSite": "no_restriction",
11            "secure": true,
12            "session": false,
13            "storeId": "0",
14            "value": "1248804295",
15            "id": 1
16        }
17    ],
18    "proxyConfiguration": {
19        "useApifyProxy": true,
20        "apifyProxyGroups": [
21            "RESIDENTIAL"
22        ]
23    },
24    "startUrls": [
25        {
26            "url": "https://www.facebook.com/VoltaRoofing"
27        }
28    ]
29}

Output Structure

The output data typically includes:

1[
2    {
3        "Category": "Contractor",
4        "Address": "https://www.bing.com/maps/default.aspx?v=2&pc=FACEBK&mid=8100&where1=172+NE+72nd+St%2C+Gladstone%2C+MO%2C+United+States%2C+64118&FORM=FBKPL1&mkt=en-US",
5        "Mobile": "+1 816-436-2050",
6        "Website": "https://l.facebook.com/l.php?u=http%3A%2F%2Fwww.kansascityroofingcompany.com%2F&h=AT1TPsLobSi9Tzqf46SwwnsyQlHnGagRXtPLUPyqMFJZQ405YSpN5sx4Fh4nqWyLFoxINWGccB8SZI7mW6u45sAMOVFMuxJeeN5rcjPxXafMOk4vYjP6vQbJZ8dH2BgAGW52dqg9&s=1",
7        "Ratings": "Rating · 4.7 (22 Reviews)",
8        "Hours": "Closed now"
9    },
10    ...
11]

Best Practices

  • Rate Limiting: Respect Facebook's terms of service by avoiding overly frequent requests.
  • Ensure min and max delay so facebook doesn't block you.
  • Error Handling: Implement robust error handling to manage request failures or unexpected data formats.
  • Data Storage: Utilize Apify's data storage solutions for efficient data management.
Developer
Maintained by Community
Actor metrics
  • 5 monthly users
  • 0 stars
  • Created in Feb 2024
  • Modified 26 days ago