Closed truongbo17 closed 11 months ago
I'm unfamiliar with limit pages. Can you give an example API call or an example of where it comes up in regular use of TikTok?
`
$query = [ "count" => 30, "id" => $user_id, "cursor" => $cursor, "type" => 1, "secUid" => $author_sec_id, "sourceType" => 8, "appId" => 1233 ];
`
it is query
What's the endpoint? If I were to browse TikTok normally on desktop or mobile, where would this get called?
The above query is of this api: https://github.com/Russell-Newton/TikTokPy/blob/main/src/tiktokapipy/util/queries.py#L19
response will be data and includes the cursor representing the next data when you pass the new pointer on
i used to go through these api and when it added limit , page . It will be much more useful if you randomize any number for cursor
check here: https://github.com/truongbo17/service-api/blob/main/app/app/Api/Nature/Tiktok/TiktokApi.php#L344
is it possible to add the feature to get videos by limit page, here tiktok uses cursor next