# Facebook Page Scraper (`bhansalisoft/facebook-page-scraper`) Actor

Facebook Page Scraper– scrap  facebook pages from facebook by keyword. like hotels in ahmedabad

- **URL**: https://apify.com/bhansalisoft/facebook-page-scraper.md
- **Developed by:** [bhansalisoft](https://apify.com/bhansalisoft) (community)
- **Categories:** Automation, Lead generation, Social media
- **Stats:** 4 total users, 0 monthly users, 0.0% runs succeeded, NaN bookmarks
- **User rating**: No ratings yet

## Pricing

$20.00/month + usage

To use this Actor, you 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, which gets cheaper the higher Apify subscription plan you have.

Learn more: https://docs.apify.com/platform/actors/running/actors-in-store#rental-actors

## What's an Apify Actor?

Actors are a software tools running on the Apify platform, for all kinds of web data extraction and automation use cases.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.
Actors are written with capital "A".

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.
The best way to integrate Actors is as follows.

In JavaScript/TypeScript projects, use official [JavaScript/TypeScript client](https://docs.apify.com/api/client/js.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python.md):

```bash
pip install apify-client
```

In shell scripts, use [Apify CLI](https://docs.apify.com/cli/docs.md):

````bash
# MacOS / Linux
curl -fsSL https://apify.com/install-cli.sh | bash
# Windows
irm https://apify.com/install-cli.ps1 | iex
```bash

In AI frameworks, you might use the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp.md).

If your project is in a different language, use the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).


# README

### Facebook Page Scraper

Facebook Page Scraper - this unique tool for scrap all facebook pages.
Software will scrap below information for  post. 



    - 🟠 Facebook PageName
    - 🟠 Facebook page link
    - 🟠 page photo
    - 🟠 page_detail
    - 🟠 page_description
   
Example
````

\[
{
"placeName": "Hotel Nalanda-Best 3 Star Hotel In Ahmedabad",
"place\_fburl": "https://www.facebook.com/profile.php?id=100068654216071",
"place\_profile\_picture": "https://scontent-iad3-1.xx.fbcdn.net/v/t39.30808-1/299498463\_384579497173854\_5388167968159434192\_n.png?stp=c99.0.242.242a\_cp0\_dst-png\_s60x60&\_nc\_cat=101\&ccb=1-7&\_nc\_sid=2d3e12&\_nc\_ohc=8i5oNXN\_WmgQ7kNvwHF3dgZ&\_nc\_oc=AdlineFYb41Ed-3ynYQGgMc8WpfX3Y2LyPlMm2FtM2L--RDtRvHIk8c32nRO5BKkflA&\_nc\_zt=24&\_nc\_ht=scontent-iad3-1.xx&\_nc\_gid=sqhmz2cuzi-8Oxokt6qpSw\&oh=00\_AfX2mv6j\_f7cn535P8-9sF349TTG5e9-eLKbLu05I4v4lA\&oe=68B3418F",
"place\_text": "Hotel · Not yet rated (0 reviews) · ££££ · Mithakhali Six Road,Ellisbridge, Ahmedabad, Ahmedabad, Gujarat, India · Always open · 45 followers",
"place\_description": "THE 1ST THREE STAR HOTEL OF AHMEDABAD, LOCATED IN THE HEART OF BUSINESS DISTRICT OF THE CITY AT ELLISBRIDGE. THE CMD OF HOTEL NALANDA, TOOK THIS INITIATIV"
},
{
"placeName": "Hotel Grandambience in Ahmedabad",
"place\_fburl": "https://www.facebook.com/hotelgrandambience",
"place\_profile\_picture": "https://scontent-iad3-1.xx.fbcdn.net/v/t39.30808-1/306444449\_423497963220274\_1031349509303724513\_n.jpg?stp=c0.0.599.599a\_cp0\_dst-jpg\_s60x60\_tt6&\_nc\_cat=101\&ccb=1-7&\_nc\_sid=2d3e12&\_nc\_ohc=mQC4MQdJuJoQ7kNvwEKyAio&\_nc\_oc=AdkJeT2b\_QQTqMepuSQshoTxUc2HtaiXO8pP9JiOnR-bnsMb31sqkXiWmDpKu0KbIK0&\_nc\_zt=24&\_nc\_ht=scontent-iad3-1.xx&\_nc\_gid=sqhmz2cuzi-8Oxokt6qpSw\&oh=00\_AfVejGknGf-Ys0XND10sIyBVt49u\_QBkfqdIEuoLrtXzog\&oe=68B32938",
"place\_text": "Hotel · Near Sidi Sayyed Masjid,Opp. Dinbai Tower,Lal Darwaja, Ahmedabad, Gujarat, India · 929 followers",
"place\_description": "The Hotel Grand Ambience prides itself as being one of the leading Business Hotel within budget price with all facilities of 4 star hotel in the Heart of City near by Railway Station opp Heritage location Sidi Sayyed Masjid."
}

]

````

- ✅ Software will Extract All place result from any facebook account with cookie method.
- ✅ Software with extract data with very securily so that facebook not block you.
- ✅ Software with extractraction speed is in 1 second 500 data.
- ✅ 100% Real Time facebook place information with Advance Export into Excel ,CSV and Text Format.


### How to use
  
- facebook Cookie - Enter linkedin Cookie (Check Section how to get Cookie)
- keyword : Enter keyword like hotels in india
- Click on Save and Start Button for Start Process of Facebook Place scraper.  

### How to get Facebook Cookies

1. ✅ Step 1 :  Install Chrome Extension [Export cookie JSON file for Puppeteer](https://chromewebstore.google.com/detail/export-cookie-json-file-f/nmckokihipjgplolmcmjakknndddifde/reviews) in chrome browser
2. ✅ Step 2 :  Login to your Facebook into chrome browser
3. ✅ Step 3 :  After login, open chrome Extension "Export cookie JSON file for Puppeteer"  and Click Export cookies as JSON, it will download Cookie json file, from file copy cookie. 
4. ✅ Step 4 :  Go to Software input Area,Paste Cookie on Box "Facebook Cookie" 
       
Demo video For Get Cookie from any website

https://youtu.be/yYJ6l2jm83Q



Check Demo video

https://youtu.be/7SFlp1WChWI











if you face any issue , you can email us at bhansalisoft781986@gmail.com

# Actor input Schema

## `Keyword` (type: `string`):

Keyword
## `Cookies` (type: `array`):

Insert Facebook Cookie, please check product information how to get cookie
## `proxySettings` (type: `object`):

Select proxies to be used by your crawler.

## Actor input object example

```json
{
  "Keyword": "TestKeyword",
  "proxySettings": {
    "useApifyProxy": false
  }
}
````

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "Keyword": "TestKeyword",
    "proxySettings": {
        "useApifyProxy": false
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("bhansalisoft/facebook-page-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "Keyword": "TestKeyword",
    "proxySettings": { "useApifyProxy": False },
}

# Run the Actor and wait for it to finish
run = client.actor("bhansalisoft/facebook-page-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "Keyword": "TestKeyword",
  "proxySettings": {
    "useApifyProxy": false
  }
}' |
apify call bhansalisoft/facebook-page-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=bhansalisoft/facebook-page-scraper",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Facebook Page Scraper",
        "description": "Facebook Page Scraper– scrap  facebook pages from facebook by keyword. like hotels in ahmedabad",
        "version": "0.0",
        "x-build-id": "WqTphPUe1lzy4hhvm"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/bhansalisoft~facebook-page-scraper/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-bhansalisoft-facebook-page-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        },
        "/acts/bhansalisoft~facebook-page-scraper/runs": {
            "post": {
                "operationId": "runs-sync-bhansalisoft-facebook-page-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor and returns information about the initiated run in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/runsResponseSchema"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/acts/bhansalisoft~facebook-page-scraper/run-sync": {
            "post": {
                "operationId": "run-sync-bhansalisoft-facebook-page-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "inputSchema": {
                "type": "object",
                "required": [
                    "Keyword",
                    "Cookies"
                ],
                "properties": {
                    "Keyword": {
                        "title": "Keyword",
                        "type": "string",
                        "description": "Keyword"
                    },
                    "Cookies": {
                        "title": "Facebook Cookie",
                        "type": "array",
                        "description": "Insert Facebook Cookie, please check product information how to get cookie"
                    },
                    "proxySettings": {
                        "title": "Proxy configuration",
                        "type": "object",
                        "description": "Select proxies to be used by your crawler."
                    }
                }
            },
            "runsResponseSchema": {
                "type": "object",
                "properties": {
                    "data": {
                        "type": "object",
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "actId": {
                                "type": "string"
                            },
                            "userId": {
                                "type": "string"
                            },
                            "startedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "finishedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "status": {
                                "type": "string",
                                "example": "READY"
                            },
                            "meta": {
                                "type": "object",
                                "properties": {
                                    "origin": {
                                        "type": "string",
                                        "example": "API"
                                    },
                                    "userAgent": {
                                        "type": "string"
                                    }
                                }
                            },
                            "stats": {
                                "type": "object",
                                "properties": {
                                    "inputBodyLen": {
                                        "type": "integer",
                                        "example": 2000
                                    },
                                    "rebootCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "restartCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "resurrectCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "computeUnits": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "options": {
                                "type": "object",
                                "properties": {
                                    "build": {
                                        "type": "string",
                                        "example": "latest"
                                    },
                                    "timeoutSecs": {
                                        "type": "integer",
                                        "example": 300
                                    },
                                    "memoryMbytes": {
                                        "type": "integer",
                                        "example": 1024
                                    },
                                    "diskMbytes": {
                                        "type": "integer",
                                        "example": 2048
                                    }
                                }
                            },
                            "buildId": {
                                "type": "string"
                            },
                            "defaultKeyValueStoreId": {
                                "type": "string"
                            },
                            "defaultDatasetId": {
                                "type": "string"
                            },
                            "defaultRequestQueueId": {
                                "type": "string"
                            },
                            "buildNumber": {
                                "type": "string",
                                "example": "1.0.0"
                            },
                            "containerUrl": {
                                "type": "string"
                            },
                            "usage": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "integer",
                                        "example": 1
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "usageTotalUsd": {
                                "type": "number",
                                "example": 0.00005
                            },
                            "usageUsd": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "number",
                                        "example": 0.00005
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
