Create screenshot statistics user tiktok profile image, simple and elegan
https://editor.vreden.my.id/tiktok
Header | Type | Description |
---|---|---|
Content-Type | String | image/png |
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' }
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}`
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 |
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. |