INCT-DD / tiktok-sdk

Async wrapper for the TikTok research API
https://inct-dd.github.io/tiktok-sdk/
GNU Affero General Public License v3.0
1 stars 0 forks source link

[bug] Video query search ids are always invalid or expired #27

Open alexandreteles opened 3 weeks ago

alexandreteles commented 3 weeks ago

It is currently impossible to walk all results from any given video search because the search ids that must be paired with the cursor operator are always invalid or expired according to the TikTok Research API:

image

One workaround when searching for videos posted by a specific user is to search day by day with max_count set to 100. This should give us results that will fit a single query output and avoid having to walk along the cursors (as it wouldn't work anyway).