Video Downloader for Facebook
This package is auto-updated.
Last update: 2020-11-25 11:19:30 UTC
Video Downloader Package for Facebook. Automatically generates download links for HD and SD quality & lets you download them. Comes with Laravel Support out of the Box!
$ composer require irazasyed/video-downloader
Get Video Info By Video ID:
$downloader = new Irazasyed\VideoDownloader\Factory('facebook'); $videoInfo = $downloader->getVideoInfo('10154015752566729');
Get Video Info By URL:
$videoUrl = 'https://www.facebook.com/facebook/videos/vl.515712155263726/10154015752566729/?type=1&theater'; $downloader->getVideoInfo($videoUrl);
$response = [ "title" => "Facebook" // Video Title if exists, Page Title otherwise. "description" => "Is seeing the world on your mind?" // Video Caption "owner" => "Facebook" // Uploader Name "created_time" => "1441004460" // Unix Time "hd_link" => "<HD MP4 LINK>" "sd_link" => "<SD MP4 LINK>" ];
$isAsyncRequest = true; $downloader->download('Remote_File_URL', '/path/to/destination/filename.mp4', $isAsyncRequest);
Please see CHANGELOG for more information what has changed recently.
$ composer test
If you discover any security related issues, please email email@example.com instead of using the issue tracker.
This project and its author is neither associated, nor affiliated with Facebook in anyway. Use of this project is at your own risk and subject to the license of this project. This is simply an experimental project. It is highly recommended to go through the Automated Data Collection Terms of Facebook & the License section of this project for more information.
The MIT License (MIT). Please see License File for more information.