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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file meta-scraper-0.0.1.tar.gz.

File metadata

  • Download URL: meta-scraper-0.0.1.tar.gz
  • Upload date:
  • Size: 3.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for meta-scraper-0.0.1.tar.gz
Algorithm Hash digest
SHA256 85801580f59d3894cdc13701a1290174f9922917b422a495a352417cdad1c923
MD5 4ee494e538a0816f065254a81075e548
BLAKE2b-256 0b94b8ecf36c1c517f8d3cb61b28a3f77bdc1674193414cef422f1acc95123f3

See more details on using hashes here.

File details

Details for the file meta_scraper-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: meta_scraper-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 4.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for meta_scraper-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 03bc740e50c4e7af241a09dcbfdb5d9db7f8e74d6f7375775650151222b69fb5
MD5 54fbf9a6dfca163ba4c66d31286f5060
BLAKE2b-256 bec5b53f5034f25d830cf08aece3de25ef33c4f0d5e51f0dcb80c3a870293e32

See more details on using hashes here.

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