Facebook Search and Page Details Scraper
Try for free
2 hours trial then $30.00/month - No credit card required now
View all Actors
Facebook Search and Page Details Scraper
memo23/facebook-pages-and-contacts-scraper
Try for free
2 hours trial then $30.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.
The code examples below show how to run the Actor and get its results. To run the code, you need to have an Apify account. Replace <YOUR_API_TOKEN> in the code with your API token, which you can find under Settings > Integrations in Apify Console. Learn more
1# Set API token
2API_TOKEN=<YOUR_API_TOKEN>
3
4# Prepare Actor input
5cat > input.json <<'EOF'
6{
7 "startUrls": [
8 "https://www.facebook.com/search/pages/?q=medical"
9 ],
10 "cookies": [],
11 "proxy": {
12 "useApifyProxy": true
13 }
14}
15EOF
16
17# Run the Actor using an HTTP API
18# See the full API reference at https://docs.apify.com/api/v2
19curl "https://api.apify.com/v2/acts/memo23~facebook-pages-and-contacts-scraper/runs?token=$API_TOKEN" \
20 -X POST \
21 -d @input.json \
22 -H 'Content-Type: application/json'
Developer
Maintained by Community
Actor metrics
- 8 monthly users
- 0 stars
- 100.0% runs succeeded
- Created in Jun 2024
- Modified 12 days ago
Categories