Page cover image

User Following

Fetching a users following through our API

GENERAL ENDPOINT

Returns a users following

GET https://kitkot.xyz/api/get_user/following

Returns a list of users that the user you provide by sec_user_id is following

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 information about

count

String

The amount of following to fetch per page

page_token

String

The page_token you got in response from the previous request, which will give you the next page of following

{
    following_list: [Object, Object, Object, Object],
    total_following: 1444,
    has_more: 1,
    me_user_id: "",
    page_token: "",
    offset: 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/following?api_key=${API_KEY}&sec_user_id=${sec_user_id}&count=${count}`);
const response = await request.json();
console.log(response);

Last updated