Facebook Page Search Results with Details(About Tab) Scraper avatar

Facebook Page Search Results with Details(About Tab) Scraper

Try for free

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

Go to Store
Facebook Page Search Results with Details(About Tab) Scraper

Facebook Page Search Results with Details(About Tab) Scraper

memo23/facebook-pages-and-contacts-scraper
Try for free

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

This actor allows you to scrape Facebook pages from search results and retrieve important details such as page name, description, photo URL, verification status, tags or categories, reviews, price range, location, hours of operation, number of followers, page slug, and page link.

Facebook Search and Page Details Scraper

How it works

This actor allows you to scrape Facebook pages from search results and retrieve important details such as page name, description, photo URL, verification status, tags or categories, reviews, price range, location, hours of operation, number of followers, page slug, and page link.

Key Features

  • Multi-Query Search: Support for multiple search URLs (https://www.facebook.com/search/pages/?q=your_query) or simple keywords/search terms.
  • Authentication: Requires login via cookies for comprehensive access to search results.
  • Location-Based Search: Target specific cities for more relevant results (applies to all search queries).
  • Detailed Page Information: Optional scraping of in-depth page details including business name, contact info, email, address, Facebook ID, location, and website.
  • Customizable Parameters:
    • Max pages to scrape
    • Min/Max scroll delay
    • Proxy configuration via Apify Proxy

Best Practices

  • Use city names for location-based searches rather than countries for more precise results.
  • Adjust scroll delay settings to balance between scraping speed and avoiding Facebook's anti-scraping measures.
  • Utilize Apify Proxy for improved reliability and to prevent IP blocking.

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. Export Cookies: While on the Facebook tab, click on the extension and export the cookies.
  5. Input Cookies: Paste the cookies into this actor's Cookie input field.
  6. Specify Search URLs: Input your search URLs in the format https://www.facebook.com/search/pages/?q=your_query. You can add multiple URLs for a broader search scope.
  7. Set Max Pages to Scrape: Determine the number of pages to scrape.
  8. Set Scroll Delays: Set the Min Delay for Scroll and Max Delay for Scroll to avoid being blocked by Facebook and to get maximum results.
  9. (Optional) Configure Proxy Settings: For enhanced reliability.
  10. Run the Actor: Execute the actor to start scraping.
  11. Data Collection: The scraper will output data in your chosen format, which can include JSON, HTML, CSV, Excel, or other formats supported by Apify.

Input Data

Here's a simple example of how to set up a search for "medical" pages 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    "maxDelay": 5,
19    "maxPages": 100,
20    "minDelay": 2,
21    "location": "London, United Kingdom",
22    "proxyConfiguration": {
23        "useApifyProxy": true,
24        "apifyProxyGroups": [
25            "RESIDENTIAL"
26        ]
27    },
28    "startUrls": [
29        "https://www.facebook.com/search/pages/?q=medical",
30        "wood fired pizza"
31    ]
32}

Output

The actor provides comprehensive data on Facebook pages, including but not limited to:

  • Basic page information (name, description, category)
  • Engagement metrics (follower count, reviews)
  • Business details (contact information, operating hours)
  • Visual elements (profile photo URL)
  • Verification status and unique identifiers (page slug, Facebook ID)

This versatile scraper is ideal for market research, competitor analysis, and gathering business intelligence from Facebook's vast network of pages.

Output Structure

The output data typically includes:

1[
2    {
3        "photoURL": "https://scontent-lhr6-1.xx.fbcdn.net/v/t39.30808-1/301151412_570690141417755_6212916130069721922_n.jpg?stp=cp0_dst-jpg_p60x60&_nc_cat=109&ccb=1-7&_nc_sid=f4b9fd&_nc_ohc=GGVQyS7LBq4Q7kNvgFiQ1Bc&_nc_ht=scontent-lhr6-1.xx&oh=00_AYBmgOqXfykE5dcosfWhXF8Eyu6z9zmyrlLtbHGoBZAUbg&oe=669F5C1B",
4        "pageName": "Little Italy Pizza Wood Fired Oven",
5        "isVerified": "no",
6        "tag": "Pizza Place",
7        "reviews": null,
8        "priceRange": "$",
9        "location": null,
10        "hoursOpen": "Open now",
11        "followers": "114 followers",
12        "description": "Italian wood fired oven pizza � ",
13        "pageLink": "https://www.facebook.com/profile.php?id=100054303230054&__tn__=%3C",
14        "pageSlug": "100054303230054",
15        "pageDetails": {
16            "Category": "Pizza place",
17            "address": "294 Barking , London, United Kingdom, E13 8HR",
18            "Service Area": "Plaistow, UK · Canning Town South, London, UK · Canning Town North, UK · Poplar, UK · Ilford, UK · Barking, UK · Stratford, UK · East Ham, UK",
19            "Mobile": "07425 942387",
20            "Email": "littleitalypizza17@gmail.com",
21            "Contact info": {
22                "Category": "Pizza place",
23                "address": "294 Barking , London, United Kingdom, E13 8HR",
24                "Service Area": "Plaistow, UK · Canning Town South, London, UK · Canning Town North, UK · Poplar, UK · Ilford, UK · Barking, UK · Stratford, UK · East Ham, UK",
25                "Mobile": "07425 942387",
26                "Email": "littleitalypizza17@gmail.com"
27            },
28            "Website": "https://l.facebook.com/l.php?u=http%3A%2F%2FLittleitalypizza.uk%2F&h=AT3cXKVB8Kn6-njK1rDOGEa9ldEGRhsHHIXamKim237IxnHcn0GN5eOlznGb18LII1WBtRtZc_ibDMBJ2W8zx-o-danVDvw1uo_qzZhRy2kQ6-s8CGug6DN88Zk&s=1",
29            "Websites and social links": {
30                "Category": "Pizza place",
31                "address": "294 Barking , London, United Kingdom, E13 8HR",
32                "Service Area": "Plaistow, UK · Canning Town South, London, UK · Canning Town North, UK · Poplar, UK · Ilford, UK · Barking, UK · Stratford, UK · East Ham, UK",
33                "Mobile": "07425 942387",
34                "Email": "littleitalypizza17@gmail.com",
35                "Contact info": {
36                    "Category": "Pizza place",
37                    "address": "294 Barking , London, United Kingdom, E13 8HR",
38                    "Service Area": "Plaistow, UK · Canning Town South, London, UK · Canning Town North, UK · Poplar, UK · Ilford, UK · Barking, UK · Stratford, UK · East Ham, UK",
39                    "Mobile": "07425 942387",
40                    "Email": "littleitalypizza17@gmail.com"
41                },
42                "Website": "https://l.facebook.com/l.php?u=http%3A%2F%2FLittleitalypizza.uk%2F&h=AT3cXKVB8Kn6-njK1rDOGEa9ldEGRhsHHIXamKim237IxnHcn0GN5eOlznGb18LII1WBtRtZc_ibDMBJ2W8zx-o-danVDvw1uo_qzZhRy2kQ6-s8CGug6DN88Zk&s=1"
43            },
44            "Ratings": "86% recommend (6 Reviews)",
45            "Hours": "Open now",
46            "Price": "Price Range · $",
47            "Services": "Delivery · Takeout · Dine-in…",
48            "AboutLink": "https://www.facebook.com/profile.php?id=100054303230054&sk=about",
49            "pageSlug": "100054303230054"
50        }
51    },
52    {
53        "photoURL": "https://scontent-lhr6-2.xx.fbcdn.net/v/t39.30808-1/220872063_108892444813577_5570569637389360638_n.png?stp=cp0_dst-png_p60x60&_nc_cat=104&ccb=1-7&_nc_sid=f4b9fd&_nc_ohc=pJ-VbAa5GeMQ7kNvgHUFreJ&_nc_ht=scontent-lhr6-2.xx&oh=00_AYBpcraX3YPmG24fdmm_-h7dgqafO4vIfP-fTsmyMi5sbg&oe=669F3C93",
54        "pageName": "Basilico Wood Fired Pizza",
55        "isVerified": "no",
56        "tag": "Pizza Place",
57        "reviews": null,
58        "priceRange": null,
59        "location": null,
60        "hoursOpen": "Open now",
61        "followers": "12 followers",
62        "description": "Basilico delivers hot, wood-fired Italian pizzas across London. View the full menu from Basilico Finchley N3 1XY and place your order online. Wide selection of pizzas to have delivered to your home.",
63        "pageLink": "https://www.facebook.com/profile.php?id=100071183589868&__tn__=%3C",
64        "pageSlug": "100071183589868",
65        "pageDetails": {
66            "Category": "Pizza place",
67            "address": "93 Ballards Ln, Finchley Central, N3 1XY",
68            "Mobile": "020 3394 6060",
69            "Contact info": {
70                "Category": "Pizza place",
71                "address": "93 Ballards Ln, Finchley Central, N3 1XY",
72                "Mobile": "020 3394 6060"
73            },
74            "Website": "https://l.facebook.com/l.php?u=https%3A%2F%2Fbasilico.co.uk%2F&h=AT2B04OW7b4CjY9cdv1CJjeDUXn52rfwH1XlqODcYf8ZST4bMkmDumTMcNvPK7RvpJoLfESRP2iXpMkBxj4TIgujvvMppKaja_1OV2RFjssbxntkR0zKcEK318k&s=1",
75            "Websites and social links": {
76                "Category": "Pizza place",
77                "address": "93 Ballards Ln, Finchley Central, N3 1XY",
78                "Mobile": "020 3394 6060",
79                "Contact info": {
80                    "Category": "Pizza place",
81                    "address": "93 Ballards Ln, Finchley Central, N3 1XY",
82                    "Mobile": "020 3394 6060"
83                },
84                "Website": "https://l.facebook.com/l.php?u=https%3A%2F%2Fbasilico.co.uk%2F&h=AT2B04OW7b4CjY9cdv1CJjeDUXn52rfwH1XlqODcYf8ZST4bMkmDumTMcNvPK7RvpJoLfESRP2iXpMkBxj4TIgujvvMppKaja_1OV2RFjssbxntkR0zKcEK318k&s=1"
85            },
86            "Ratings": "Not yet rated (0 Reviews)",
87            "Hours": "Open now",
88            "AboutLink": "https://www.facebook.com/profile.php?id=100071183589868&sk=about",
89            "pageSlug": "100071183589868"
90        }
91    },
92    ...
93]

Support

Developer
Maintained by Community

Actor Metrics

  • 4 monthly users

  • 0 No stars yet

  • 80% runs succeeded

  • Created in Jun 2024

  • Modified a month ago