1. Go to this page and download the library: Download php127/douyin 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/ */
php127 / douyin example snippets
use Php127\Douyin\Factory;;
//抖音
$app = Factory::douyin('https://v.Douyin.com/eeYy4Yo/');
//快手
$app = Factory::kuaishou('https://v.kuaishou.com/gcNIRW');