Download the PHP package ssovit/tiktok-private-api without Composer
On this page you can find all versions of the php package ssovit/tiktok-private-api. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download ssovit/tiktok-private-api
More information about ssovit/tiktok-private-api
Files in ssovit/tiktok-private-api
Package tiktok-private-api
Short Description Unofficial TikTok Private API for PHP
License MIT
Homepage https://github.com/ssovit/tiktok-private-api
Informations about the package tiktok-private-api
Unofficial TikTok Private API library for PHP
API Wrapper for private API access
Installation
Via composer composer require ssovit/tiktok-private-api
How does this work?
Monthly subscription of my private API server is required for this to function. See below.
Documentation
https://ssovit.github.io/TikTok-Private-API-PHP/
Usage
Follow examples in /example
directory
Available Options
Cache Engine
You can build your own engine that will store and fetch cache from your local storage to prevent frequent requests to TikTok server. This can help being banned from TikTok server for too frequent requests.
Cache engine should have callable get
and set
methods that the API class uses
Usage
Available methods
getForYou
- Get trending feedgetForYou($maxCursor)
getUser
- Get profile data for TikTok UsergetUser($username)
getUserFeed
- Get user feed by IDgetUserFeed($user_id,$maxCursor)
getChallenge
- Get challenge/hashtag infogetChallenge($challenge)
getChallengeFeed
- Get challenge feed by IDgetChallengeFeed($challenge_id, $maxCursor)
getMusic
- Get music infogetMusic($music_id)
getMusicFeed
- Get music feedgetMusicFeed($music_id,$maxCursor)
getVideoByID
- Get video by IDgetVideoByID($video_id)
getVideoByUrl
- Get video by URLgetVideoByUrl($video_url)
- not all methods are documented, will update when I am free
$maxCursor
defaults to0
, and is offset for results page.maxCursor
for next page is exposed on current page call feed data.
Pirvate API server subscription pricing
No Longer Available