piedweb/facebook-scraper

{ Harvest Data | Scrap } from Scrape Facebook public pages without an API key

0.0.76 2022-02-02 16:34 UTC

This package is auto-updated.

Last update: 2024-10-29 05:54:02 UTC


README

Latest Version on Packagist GitHub Tests Action Status Total Downloads

{ Harvest Data | Scrap } from Scrape Facebook public pages without an API key.

DISCLAMER : this code is share only for educational purpose. Using it probably against facebook's terms of service.

Projet en pause, le client qui requête facebook est affreux à l'usage.

Installation

composer require piedweb/facebook-scraper

Usage

use PiedWeb\FacebookScraper\FacebookScraper;

$fbScraper = new FacebookScraper('myPageId');

$fbScraper->getPosts();

/** @Return array with subarray containing
 * publish_time
 * post_id
 * text
 * comment_number
 * like_number
 * images array
 */

Testing

composer test

Todo

  • review
  • post comment

Credits

License

The MIT License (MIT). Please see License File for more information.

PHP Packages Open Source