#8 TikTok Profile

Create screenshot statistics user tiktok profile image, simple and elegan

URL Endpoint

https://editor.vreden.my.id/tiktok

Headers

Header Type Description
Content-Type String image/png

Params

Berikut adalah contoh URLSearchParams request yang bisa dipakai untuk mendapatkan image tiktok profile template.

{
    "profile": 'url image profile',
    "username": '@username',
    "followers": 10000,
    "following": 20,
    "like": 34567,
    "bio": 'Hello world!',
    "website": 'https://www.vreden.my.id'
}

Contoh Code

Berikut adalah contoh code yang bisa di pakai untuk mendapatkan image tersebut.

const apiUrl = 'url endpoint'
const params = new URLSearchParams({
    profile: 'url image profile',
    username: '@username',
    followers: 10000,
    following: 20,
    like: 34567,
    bio: 'Hello world!',
    website: 'https://www.vreden.my.id'
}).toString();

const fullUrl = `${apiUrl}?${params}`

Const Code

Keterangan untuk const yang ada di code tersebut.

Field Type Description
apiUrl URL Berisi URL endpoint web api
params JSON Isi JSON data yang di convert ke params URL
fullUrl URL Hasil akhir dari search params, ini yang digunakan untuk get buffer

Params Request

Keterangan untuk params request URLSearchParams.

Field Type Description
profile URL URL foto profil pengguna.
username string Username TikTok, awali dengan @
followers Angka Jumlah orang pengikut.
following Angka Jumlah orang di ikuti.
like Angka Jumlah like total video.
bio String Bio akun kamu.
website URL Website yang tercantum pada users.