https://github.com/piedweb/facebookscraper
PHP Facebook Scrapper. DISCLAMER : this code is share only for educational purpose. Using it _probably_ against facebook's terms of service.
https://github.com/piedweb/facebookscraper
Last synced: about 1 year ago
JSON representation
PHP Facebook Scrapper. DISCLAMER : this code is share only for educational purpose. Using it _probably_ against facebook's terms of service.
- Host: GitHub
- URL: https://github.com/piedweb/facebookscraper
- Owner: PiedWeb
- License: mit
- Created: 2021-01-13T09:56:00.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2022-02-02T16:35:48.000Z (over 4 years ago)
- Last Synced: 2025-04-15T12:52:06.992Z (about 1 year ago)
- Language: PHP
- Size: 30.3 KB
- Stars: 2
- Watchers: 0
- Forks: 2
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Contributing: .github/CONTRIBUTING.md
- License: LICENSE.md
- Security: .github/SECURITY.md
Awesome Lists containing this project
README
# PHP Facebook Scraper
[](https://packagist.org/packages/piedweb/facebook-scraper)
[](https://github.com/PiedWeb/FacebookScraper/actions)
[](https://packagist.org/packages/piedweb/facebook-Scraper)
{ 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
```bash
composer require piedweb/facebook-scraper
```
## Usage
```php
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
```bash
composer test
```
## Todo
- review
- post comment
## Credits
- Robin from [Pied Web](https://piedweb.com)
- [All Contributors](../../contributors)
## License
The MIT License (MIT). Please see [License File](LICENSE.md) for more information.