|get video detail (+file)
|get user videos
|get comments under a video
|get who follows a user
|get who a user is following
|get raw video data
|authenticate a session
The goal of traktok is to provide easy access to TikTok data. This package one started as an R port of Deen Freelon’s Pyktok Python module (though it is a complete rewrite without Python dependencies). It now covers functions from the secret hidden API that TikTok is using to show/search/play videos on their Website and the official Research API. Since the Research API misses some important features (and since not everyone has access to it) it can often make sense to still use the hidden API that mocks requests from a browser. However, an important disclaimer for the hidden API applies:
This program may stop working suddenly if TikTok changes how it stores its data (see Freelon, 2018).
However, the last times, it was fixed rather quickly (e.g., #12).
You can install the development version of traktok from GitHub with: