
Lightweight Facebook Pages Scraper
Pricing
$20.00/month + usage

Lightweight Facebook Pages Scraper
Scrape detailed Facebook page information efficiently and cost-effectively with our best scraper. Extract valuable data like page names, URLs, contact details, addresses, likes, and followers for competitive analysis, market research, trend monitoring, and social media analysis.
4.4 (2)
Pricing
$20.00/month + usage
9
Total users
239
Monthly users
11
Runs succeeded
>99%
Last modified
a month ago
You can access the Lightweight Facebook Pages Scraper programmatically from your own applications by using the Apify API. You can also choose the language preference from below. To use the Apify API, youβll need an Apify account and your API token, found in Integrations settings in Apify Console.
1import { ApifyClient } from 'apify-client';2
3// Initialize the ApifyClient with your Apify API token4// Replace the '<YOUR_API_TOKEN>' with your token5const client = new ApifyClient({6 token: '<YOUR_API_TOKEN>',7});8
9// Prepare Actor input10const input = {11 "cookies": [],12 "start_urls": [13 {14 "url": "https://www.facebook.com/humansofnewyork"15 },16 {17 "url": "https://www.facebook.com/HiltonGardenInnMontrealAirport/"18 }19 ],20 "proxyUrls": {21 "useApifyProxy": true,22 "apifyProxyGroups": [23 "RESIDENTIAL"24 ]25 }26};27
28// Run the Actor and wait for it to finish29const run = await client.actor("oussemafr/lightweight-facebook-pages-scraper").call(input);30
31// Fetch and print Actor results from the run's dataset (if any)32console.log('Results from dataset');33console.log(`πΎ Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);34const { items } = await client.dataset(run.defaultDatasetId).listItems();35items.forEach((item) => {36 console.dir(item);37});38
39// π Want to learn more π? Go to β https://docs.apify.com/api/client/js/docs
Lightweight Facebook Pages Scraper API in JavaScript
The Apify API client for JavaScript is the official library that allows you to use Lightweight Facebook Pages Scraper API in JavaScript or TypeScript, providing convenience functions and automatic retries on errors.
Install the apify-client
$npm install apify-client
Other API clients include: