定制 tikliveapi/tiktok-scraper 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

tikliveapi/tiktok-scraper

Composer 安装命令:

composer require tikliveapi/tiktok-scraper

包简介

Advanced TikTok Scraper API Client for PHP. Scrape user profiles, followers, videos, hashtags, music and search data in real-time.

README 文档

README

A simple PHP wrapper for the TikLiveAPI, the world's most popular TikTok Scraper API.

Features

  • Easy to use: Simple object-oriented interface.
  • Fast: Optimized for speed with low latency.
  • Comprehensive: Access User, Video, Search, and Music data.

Installation

  1. Download TikLiveAPI.php and include it in your project.
  2. Get your API Key from TikLiveAPI Dashboard.

Usage

require 'TikLiveAPI.php';

// Initialize with your API Key
$api = new TikLiveAPI('YOUR_API_KEY');

// Get User ID
$result = $api->getUserID('tiktok');
print_r($result);

// Get User Info
$info = $api->getUserInfo('tiktok');
print_r($info);

Available Endpoints

Users

  • User ID (getUserID): Get the unique User ID by username.
  • User Info (getUserInfo): Get detailed user information by username.
  • User Info by ID (getUserInfoByID): Get user information by numeric ID.
  • User Posts (getUserPosts): Retrieve posts from a specific user.
  • User Followers (getUserFollowers): Get the list of followers for a user.
  • User Following (getUserFollowing): Get the list of accounts a user is following.
  • User Search (searchUser): Search for users by keyword.
  • User Collections (getUserCollections): Get user collections (favorites).
  • User Liked Posts (getUserLikedPosts): Get posts liked by a user.
  • User Playlists (getUserPlaylists): Get playlists created by a user.
  • User Stories (getUserStories): Get stories from a user.

Posts (Videos)

  • Post Detail (getPostDetail): Get detailed information about a specific post.
  • Post Comments (getPostComments): Get comments for a specific post.
  • Post Comment Replies (getPostCommentReplies): Get replies to a specific comment.
  • Post Music (getMusicPosts): Get posts associated with a specific music track.
  • Post Challenge (getChallengePosts): Get posts associated with a specific challenge.
  • Post Playlist (getPlaylistPosts): Get posts from a specific playlist.
  • Posts Collection (getCollectionPosts): Get posts from a specific collection.
  • Post Search (searchVideo): Search for posts (videos) by keyword.

Music

  • Music Info (getMusicInfo): Get details about a music track.
  • Music Posts (getMusicPosts): Get posts that use a specific music track.

Challenge (Hashtags)

  • Challenge Info (ID) (getChallengeInfoByID): Get challenge info by ID.
  • Challenge Info (Name) (getChallengeInfoByName): Get challenge info by name (hashtag).
  • Challenge Posts (getChallengePosts): Get posts for a specific challenge.
  • Challenge Search (searchChallenge): Search for challenges.

Playlist (Mix)

  • Playlist Info (getPlaylistInfo): Get playlist details.
  • Playlist Posts (getPlaylistPosts): Get posts in a playlist.
  • Playlist by User (getUserPlaylists): Get playlists for a user.

Collection

  • Collection Info (getCollectionInfo): Get collection details.
  • Collection Posts (getCollectionPosts): Get posts in a collection.
  • Collection by User (getUserCollections): Get collections for a user.

Download

  • Download Video (downloadVideo): Download a video without watermark.
  • Download Music (downloadMusic): Download music track.

Region

  • Region List (getRegionList): Get list of available regions.

Ads

  • Ads Detail (getAdsDetail): Get ad details.

For full documentation and parameter details, visit https://www.tikliveapi.com/documentation/.

License

MIT

统计信息

  • 总下载量: 0
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 2
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 1
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2026-07-09

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固