piedweb / facebook-scraper
{ Harvest Data | Scrap } from Scrape Facebook public pages without an API key
Installs: 4 595
Dependents: 1
Suggesters: 0
Security: 0
Stars: 2
Watchers: 1
Forks: 2
Open Issues: 2
Requires
- php: ^7.4|^8.0
- league/html-to-markdown: ^5.0
- piedweb/curl: ^0.0.18
- symfony/css-selector: ^5.2
- symfony/dom-crawler: ^5.2
Requires (Dev)
- friendsofphp/php-cs-fixer: ^2.16
- phpunit/phpunit: ^9.5
- symfony/var-dumper: ^5.2
- vimeo/psalm: ^4.3
README
{ 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
- Robin from Pied Web
- All Contributors
License
The MIT License (MIT). Please see License File for more information.