User Liked Videos
Fetching a users liked videos through our API
GENERAL ENDPOINT
Returns posts liked by the user
GET
https://kitkot.xyz/api/get_user/liked_videos
Returns posts that the user has liked
Query Parameters
Name
Type
Description
api_key*
String
The api_key
you got when purchasing our service
sec_user_id*
String
The sec_user_id
of the user to fetch posts off
count
String
The amount of videos to fetch
max_cursor
String
The max_cursor
returned from your request before to fetch the next page of liked videos
{
"code": 200,
"aweme_list": [Object, Object, Object, Object],
"total_liked_videos": 150,
"max_cursor": 0,
"min_cursor": 0
}
const fetch = require('node-fetch');
const BASEURL = "https://kitkot.xyz/api";
const API_KEY = "my-api-key";
const sec_user_id = "MS4wLjABAAAAv7iSuuXDJGDvJkmH_vz1qkDZYo1apxgzaxdBSeIuPiM";
const count = "6";
const request = await fetch(`${BASEURL}/get_user/liked_videos?api_key=${API_KEY}&sec_user_id=${sec_user_id}&count=${count}`);
const response = await request.json();
console.log(response);
Last updated