# 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, 0 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/actors/running/actors-in-store.md#rental-actors

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — 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(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).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": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,bhansalisoft/facebook-page-scraper"
        }
    }
}

```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/LsBZJAmhtc2IaY6Uv/builds/WqTphPUe1lzy4hhvm/openapi.json
