无需登录即可从任何公共Facebook主页提取30多个字段。返回联系方式(电话、邮箱、网站、地址)、互动指标(点赞、粉丝、讨论量)、商业信息(类别、服务、营业时间)、最新帖子以及Facebook广告资料库中的活跃广告。
# 通过Apify API启动运行 curl -X POST "https://api.apify.com/v2/acts/santamaria-automations~facebook-pages-scraper/runs?token=YOUR_TOKEN" \ -H "Content-Type: application/json" \ -d '{ "pages": ["Meta", "obi.swiss"], "includeAds": true }' # 或通过MCP与AI代理配合使用: # https://mcp.apify.com?tools=santamaria-automations/facebook-pages-scraper
| 特性 | NanoScrape | 基于浏览器的爬虫 |
|---|---|---|
| 需要登录 | 否 | 通常需要 |
| Docker镜像 | ~12MB | 500MB - 2GB |
| 内存占用 | 128MB | 1-4GB |
| 广告资料库数据 | 包含 | 很少 |
| 成本 | 便宜10倍 | 基准价格 |
| 需要Chrome | 否 | 是 |
| 字段 | 类型 | 示例 |
|---|---|---|
| name | string | Meta |
| pageUrl | string | https://www.facebook.com/Meta |
| profilePicUrl | string | https://scontent... |
| coverPhotoUrl | string | https://scontent... |
| category | string | 互联网公司 |
| subcategories | string[] | ["科技", "软件"] |
| likes | number | 14200000 |
| followers | number | 14500000 |
| talkingAbout | number | 85000 |
| wereHere | number | 12500 |
| rating | number | 4.2 |
| ratingCount | number | 3400 |
| phone | string | +1 650-543-4800 |
| string | [email protected] | |
| website | string | https://about.meta.com |
| address | string | 1 Hacker Way, Menlo Park, CA |
| city | string | Menlo Park |
| zip | string | 94025 |
| country | string | 美国 |
| hours | object | {"周一": "9:00-17:00", ...} |
| services | string[] | ["咨询", "开发"] |
| priceRange | string | $$ |
| description | string | Meta官方主页 |
| shortDescription | string | 构建连接的未来 |
| founded | string | 2004 |
| impressum | string | Meta Platforms, Inc. |
| latestPostText | string | 我们很高兴地宣布... |
| latestPostDate | string | 2026-04-20T10:30:00Z |
| latestPostImageUrl | string | https://scontent... |
| isVerified | boolean | true |
| adCount | number | 24 |
| ads | object[] | [{text, link, format, startDate}] |
| pageId | string | 100064757027104 |
| scrapedAt | string | 2026-04-23T08:00:00Z |
点击上方 在 Apify 上打开,在浏览器中运行 facebook-pages-scraper — 无需代码,无需安装。在 Apify 控制台,您可以获得:
要从自己的代码运行此 actor,您需要一个 Apify API 令牌。大约一分钟完成:
免费额度:Apify 每月为您的账户提供 5 美元平台使用额度,无需信用卡。足以有意义地测试任何 actor — 按典型 scraper 每条结果 0.001 美元计算,每月大约 5,000 条免费结果。
通过 Apify REST API 从任何语言运行此 actor。将 YOUR_TOKEN 替换为您的 API 令牌,并根据需要调整输入 JSON。
curl -X POST "https://api.apify.com/v2/acts/santamaria-automations~facebook-pages-scraper/run-sync-get-dataset-items?token=YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{}'// npm install apify-client
import { ApifyClient } from 'apify-client';
const client = new ApifyClient({ token: 'YOUR_TOKEN' });
const run = await client.actor('santamaria-automations/facebook-pages-scraper').call({});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items);# pip install apify-client
from apify_client import ApifyClient
client = ApifyClient('YOUR_TOKEN')
run = client.actor('santamaria-automations/facebook-pages-scraper').call(run_input={})
items = list(client.dataset(run['defaultDatasetId']).iterate_items())
print(items)// dotnet add package Apify.Client
using Apify.Client;
var client = new ApifyClient("YOUR_TOKEN");
var run = await client.Actor("santamaria-automations/facebook-pages-scraper").CallAsync(new { });
var items = await client.Dataset(run.DefaultDatasetId).ListItemsAsync();// Maven: com.apify:apify-client
import com.apify.client.ApifyClient;
ApifyClient client = new ApifyClient("YOUR_TOKEN");
ActorRun run = client.actor("santamaria-automations/facebook-pages-scraper").call(Map.of());
List<Map<String,Object>> items = client.dataset(run.getDefaultDatasetId()).listItems();此 actor 可在 Apify MCP 服务器上使用,因此您可以从任何兼容 MCP 的 AI 客户端驱动它 — Claude Desktop、Claude.ai、Cursor、VS Code、LangChain、LlamaIndex 或自定义 agent — 无需编写代码。
https://mcp.apify.com?tools=santamaria-automations/facebook-pages-scraper连接后的示例提示:
"使用 facebook-pages-scraper 运行一次 scrape,并将结果以表格形式返回给我。"
支持动态工具发现的客户端(Claude.ai、VS Code)会通过 add-actor 自动接收完整的输入 schema。
从您喜欢的自动化工具触发此 actor。下面的每个平台都可以点几下就调用 Apify API — 无需代码。
@apify/n8n-nodes-apify)。santamaria-automations/facebook-pages-scraper。https://api.apify.com/v2/acts/santamaria-automations~facebook-pages-scraper/run-sync-get-dataset-items?token=YOUR_TOKEN。application/json。https://api.apify.com/v2/acts/santamaria-automations~facebook-pages-scraper/run-sync-get-dataset-items?token=YOUR_TOKEN,方法 POST,body raw JSON。https://api.apify.com/v2/acts/santamaria-automations~facebook-pages-scraper/run-sync-get-dataset-items?token=YOUR_TOKEN。steps.http.$return_value。https://api.apify.com/v2/acts/santamaria-automations~facebook-pages-scraper/run-sync-get-dataset-items?token=YOUR_TOKEN,body 类型 JSON。