PHP code example of mirazmac / facktube
1. Go to this page and download the library: Download mirazmac/facktube library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
mirazmac / facktube example snippets
use MirazMac\FackTube\FackTube;
$fack = new FackTube($options);
try {
$results = $fack->videos('Honest Trailer');
} catch (\Exception $e) {
echo $e->getMessage();
exit();
}
print_r($results);