PHP code example of haianibrahim / tiktok-scraper

1. Go to this page and download the library: Download haianibrahim/tiktok-scraper 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/ */

    

haianibrahim / tiktok-scraper example snippets


use GuzzleHttp\Client; // Or any ClientInterface
use Hki98\TikTok\TikTokScraper;

per->scrape('https://www.tiktok.com/@scout2015/video/6718335390845095173');

print_r($details->toArray());
bash
composer dump-autoload