jackal/video-downloader-ext-facebook

This package is abandoned and no longer maintained. No replacement package was suggested.

"Download Facebook Video"

v0.5.0 2020-05-11 11:58 UTC

This package is auto-updated.

Last update: 2024-07-13 21:11:35 UTC


README

Installation

composer require jackal/video-downloader-ext-facebook

Usage

use Jackal\Downloader\Ext\Facebook\Downloader\FacebookDownloader;

require_once __DIR__ . '/vendor/autoload.php';

$facebookVideoId = '624784478047637';

$vd = new \Jackal\Downloader\VideoDownloader();
$vd->registerDownloader(FacebookDownloader::VIDEO_TYPE, FacebookDownloader::class);

$downloader = $vd->getDownloader(FacebookDownloader::VIDEO_TYPE, $facebookVideoId, [
    'format' => ['hd'],
]);

$downloader->download(__DIR__ . '/output.avi');