#10 Instagram Profile

Create screenshot statistics user instagram profile image, simple and elegan

URL Endpoint

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

Headers

Header Type Description
Content-Type String image/png

Params

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

{
    "profile": 'url image profile',
    "username": '@username',
    "full_name": 'Full Name',
    "category": 'Artists',
    "followers": 10000,
    "following": 20,
    "post": 17,
    "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',
    full_name: 'Full Name',
    category: 'Artist',
    followers: 10000,
    following: 20,
    post: 1,
    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 Instagram, awali dengan @
full_name string Full name Instagram, nama akun tersebut
category string Bisa di isi sesuka hati atau kosongkan
followers Angka Jumlah orang pengikut.
following Angka Jumlah orang di ikuti.
post Angka Jumlah total media uploader.
bio String Bio akun kamu.
website URL Website yang tercantum pada users.