PHP code example of jncinet / laravel-byte-dance
1. Go to this page and download the library: Download jncinet/laravel-byte-dance 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/ */
jncinet / laravel-byte-dance example snippets
// 查询授权账号视频数据
app('byte-dance.dou-yin')->video()->search('open_id', 'access_token')->paginate();