Skip to main content

Facebook (Meta) Scraper

Project description

Python SDK that allows scraping Facebook (Meta) pages, reviews and more.

Generate API Token

Installation

Python 3+

pip install meta-scraper

Link to the python package page

Initialization

from meta_scraper import MetaClient

client = MetaClient(api_key='API_KEY_FROM_OUTSCRAPER.COM')

Scrape Facebook pages data

# Get Facebook pages data
  results = client.get_page_data(['outscraper'])

## Scrape Facebook pages reviews

# Get Facebook pages reviews
  results = client.get_page_reviews(['outscraper'], limit=50)

Facebook pages data demo

{
  "id": "your-request-id",
  "status": "Success",
  "data": [
    {
      "id": "your-request-id",
      "status": "Success",
      "data": [
        {
          "query": "outscraper",
          "about": "At Outscrpaer, we believe that public data is for everybody, and we apply cutting-edge technologies to prove it.",
          "email": "service@outscraper.com",
          "followers": 45,
          "likes": 43,
          "name": "Outscraper",
          "phone": "+1 281-236-8208",
          "rating": 5,
          "reviews": 6,
          "site": "https://outscraper.com/",
          "types": [
            "App page",
            "Website",
            "Business Service"
          ]
        }
      ]
    }
  ]
}

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

meta-scraper-0.0.1.tar.gz (3.6 kB view hashes)

Uploaded Source

Built Distribution

meta_scraper-0.0.1-py3-none-any.whl (4.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page