---
title: "Weibo Pengikut Pengguna API (V1)"
description: "Mengambil daftar akun yang diikuti oleh pengguna Weibo yang diidentifikasi dengan UID. Digunakan untuk memeriksa jaringan pengikut yang dikirimkan akun tersebut atau melanjutkan pencarian di daftar pengikut."
lastUpdated: false
aiUsagePrompt: true
---

# Weibo Pengikut Pengguna API \(V1\)

<ApiTester
  method="GET"
  :path='JSON.parse("\"/api/weibo/get-followers/v1\"")'
  :summary='JSON.parse("\"Pengikut Pengguna (V1)\"")'
  openapiDefinitionUrl="https://docs.justoneapi.com/openapi/weibo/user-followers-v1-id.json"
  openapiVersion="3.1.0"
  :parameters='JSON.parse("[{\"name\":\"token\",\"in\":\"query\",\"description\":\"Token akses API.\",\"required\":true,\"schema\":{\"type\":\"string\"}},{\"name\":\"uid\",\"in\":\"query\",\"description\":\"ID Pengguna Weibo (UID).\",\"required\":true,\"schema\":{\"type\":\"string\"}},{\"name\":\"page\",\"in\":\"query\",\"description\":\"Nomor halaman, dimulai dari 1.\",\"required\":false,\"schema\":{\"type\":\"integer\",\"format\":\"int32\",\"default\":1}}]")'
  :requestBody='JSON.parse("null")'
  :responses='JSON.parse("{\"200\":{\"description\":\"OK\",\"content\":{\"application/json\":{\"schema\":{\"if\":{\"properties\":{\"code\":{\"const\":0}},\"required\":[\"code\"]},\"then\":{\"properties\":{\"data\":{\"description\":\"Respons Weibo untuk akun yang diikuti oleh pengguna yang diminta. Respons hanya berupa status dapat menghilangkan daftar.\",\"properties\":{\"ok\":{\"type\":\"integer\",\"description\":\"Status daftar yang dilaporkan oleh Weibo. Sukses API eksternal masih dapat mengandung pesan status internal tanpa daftar.\"},\"screenName\":{\"type\":\"string\",\"description\":\"Nama layar yang dilaporkan bersama dengan daftar akun yang diikuti.\"},\"total_number\":{\"type\":\"integer\",\"description\":\"Jumlah total akun yang diikuti yang dilaporkan oleh Weibo.\"},\"next_cursor\":{\"type\":\"integer\",\"description\":\"Kursor berikutnya yang dilaporkan dalam respons. Gunakan parameter kueri halaman untuk permintaan selanjutnya.\"},\"previous_cursor\":{\"type\":\"integer\",\"description\":\"Kursor sebelumnya yang dilaporkan dalam respons.\"},\"users\":{\"type\":\"array\",\"description\":\"Akun yang diikuti oleh pengguna yang diminta, jika daftar tersedia.\",\"items\":{\"type\":\"object\",\"description\":\"Satu akun yang diikuti dalam daftar yang dikembalikan.\",\"properties\":{\"id\":{\"type\":\"integer\",\"description\":\"ID akun Weibo numerik.\"},\"idstr\":{\"type\":\"string\",\"description\":\"ID akun Weibo yang dikembalikan sebagai string.\"},\"screen_name\":{\"type\":\"string\",\"description\":\"Nama tampilan Weibo yang ditampilkan untuk pengguna.\"},\"name\":{\"type\":\"string\",\"description\":\"Field nama yang dikembalikan untuk profil pengguna.\"},\"description\":{\"type\":\"string\",\"description\":\"Teks biografi profil. Bisa kosong.\"},\"location\":{\"type\":\"string\",\"description\":\"Lokasi tampilan yang ditampilkan dalam profil.\"},\"province\":{\"type\":\"string\",\"description\":\"Kode provinsi yang dilaporkan dalam profil sebagai string.\"},\"city\":{\"type\":\"string\",\"description\":\"Kode kota yang dilaporkan dalam profil sebagai string.\"},\"gender\":{\"type\":\"string\",\"description\":\"Kode jenis kelamin yang dilaporkan dalam profil.\"},\"created_at\":{\"type\":\"string\",\"description\":\"Waktu pembuatan akun seperti yang ditampilkan dalam teks.\"},\"profile_url\":{\"type\":\"string\",\"description\":\"Link profil pengguna yang dikembalikan oleh Weibo. Bisa jadi path relatif.\"},\"url\":{\"type\":\"string\",\"description\":\"URL situs web eksternal yang disediakan oleh profil pengguna jika tersedia.\"},\"profile_image_url\":{\"type\":\"string\",\"description\":\"URL avatar profil.\"},\"avatar_large\":{\"type\":\"string\",\"description\":\"URL avatar profil besar.\"},\"avatar_hd\":{\"type\":\"string\",\"description\":\"URL avatar profil dengan resolusi tinggi.\"},\"verified\":{\"type\":\"boolean\",\"description\":\"Apakah profil tersebut ditandai sebagai verifikasi.\"},\"verified_type\":{\"type\":\"integer\",\"description\":\"Kode jenis verifikasi yang dilaporkan untuk pengguna.\"},\"verified_reason\":{\"type\":\"string\",\"description\":\"Deskripsi verifikasi yang ditampilkan untuk pengguna jika tersedia.\"},\"mbrank\":{\"type\":\"integer\",\"description\":\"Tingkat keanggotaan Weibo yang dilaporkan untuk akun tersebut.\"},\"mbtype\":{\"type\":\"integer\",\"description\":\"Kode jenis keanggotaan Weibo yang dilaporkan untuk akun tersebut.\"},\"followers_count\":{\"type\":\"integer\",\"description\":\"Jumlah pengikut berupa angka yang dilaporkan untuk profil ini.\"},\"followers_count_str\":{\"type\":\"string\",\"description\":\"Teks yang ditampilkan untuk jumlah pengikut, yang mungkin disingkat.\"},\"friends_count\":{\"type\":\"integer\",\"description\":\"Jumlah akun yang diikuti oleh pengguna.\"},\"bi_followers_count\":{\"type\":\"integer\",\"description\":\"Jumlah akun yang saling diikuti oleh pengguna.\"},\"statuses_count\":{\"type\":\"integer\",\"description\":\"Jumlah postingan untuk pengguna yang dilaporkan.\"},\"favourites_count\":{\"type\":\"integer\",\"description\":\"Jumlah penambahan ke favorit untuk pengguna yang dilaporkan.\"},\"status_total_counter\":{\"type\":\"object\",\"description\":\"Jumlah interaksi total terhadap postingan yang dilaporkan untuk pengguna.\",\"properties\":{\"comment_cnt\":{\"type\":\"integer\",\"description\":\"Jumlah komentar total pada postingan pengguna.\"},\"comment_like_cnt\":{\"type\":\"integer\",\"description\":\"Jumlah yang mirip dengan komentar pada postingan pengguna.\"},\"like_cnt\":{\"type\":\"integer\",\"description\":\"Jumlah yang mirip dengan postingan pada pengguna.\"},\"repost_cnt\":{\"type\":\"integer\",\"description\":\"Jumlah postingan ulang yang dilaporkan untuk postingan pengguna.\"},\"total_cnt\":{\"type\":\"integer\",\"description\":\"Jumlah interaksi total yang dilaporkan dalam penghitungan postingan.\"}}},\"video_status_count\":{\"type\":\"integer\",\"description\":\"Jumlah postingan video yang dilaporkan untuk pengguna.\"},\"video_play_count\":{\"type\":\"integer\",\"description\":\"Jumlah penayangan video yang langsung dilaporkan dalam ringkasan profil.\"},\"video_total_counter\":{\"type\":\"object\",\"description\":\"Penghitungan total video yang dilaporkan untuk pengguna.\",\"properties\":{\"play_cnt\":{\"type\":\"integer\",\"description\":\"Jumlah penayangan video yang dilaporkan dalam penghitungan video.\"}}},\"lang\":{\"type\":\"string\",\"description\":\"Kode bahasa yang dilaporkan untuk profil akun.\"},\"cover_image\":{\"type\":\"string\",\"description\":\"URL gambar sampul profil, jika diberikan.\"},\"cover_image_phone\":{\"type\":\"string\",\"description\":\"URL gambar sampul profil untuk tampilan mobile, jika diberikan.\"},\"verified_type_ext\":{\"type\":\"integer\",\"description\":\"Kode jenis verifikasi tambahan yang dilaporkan untuk akun tersebut.\"},\"video_cover\":{\"type\":\"object\",\"description\":\"Informasi gambar sampul video yang diberikan untuk profil, jika ada.\",\"properties\":{\"mid\":{\"type\":\"integer\",\"description\":\"ID pesan Weibo berangka yang diberikan bersama dengan gambar sampul video.\"}}}}}}}}}},\"allOf\":[{\"type\":\"object\",\"properties\":{\"code\":{\"type\":\"integer\",\"format\":\"int32\",\"enum\":[0,100,101,202,300,301,302,303,400,404,500,503,600,601,602]},\"message\":{\"type\":[\"string\",\"null\"]},\"data\":{},\"recordTime\":{\"type\":[\"string\",\"null\"]},\"requestId\":{\"type\":\"string\"},\"reason\":{\"type\":\"string\"},\"requestParams\":{\"type\":\"object\",\"properties\":{\"query\":{\"type\":\"object\",\"additionalProperties\":{\"type\":\"object\"}},\"body\":{\"type\":\"object\",\"properties\":{\"empty\":{\"type\":\"boolean\"},\"array\":{\"type\":\"boolean\"},\"null\":{\"type\":\"boolean\"},\"object\":{\"type\":\"boolean\"},\"float\":{\"type\":\"boolean\"},\"integralNumber\":{\"type\":\"boolean\"},\"floatingPointNumber\":{\"type\":\"boolean\"},\"valueNode\":{\"type\":\"boolean\"},\"nodeType\":{\"type\":\"string\",\"enum\":[\"ARRAY\",\"BINARY\",\"BOOLEAN\",\"MISSING\",\"NULL\",\"NUMBER\",\"OBJECT\",\"POJO\",\"STRING\"]},\"string\":{\"type\":\"boolean\"},\"missingNode\":{\"type\":\"boolean\"},\"container\":{\"type\":\"boolean\"},\"pojo\":{\"type\":\"boolean\"},\"short\":{\"type\":\"boolean\"},\"int\":{\"type\":\"boolean\"},\"long\":{\"type\":\"boolean\"},\"double\":{\"type\":\"boolean\"},\"bigDecimal\":{\"type\":\"boolean\"},\"bigInteger\":{\"type\":\"boolean\"},\"textual\":{\"type\":\"boolean\",\"deprecated\":true},\"boolean\":{\"type\":\"boolean\"},\"binary\":{\"type\":\"boolean\"},\"number\":{\"type\":\"boolean\"},\"embeddedValue\":{\"type\":\"boolean\"}}}}}},\"required\":[\"code\",\"data\",\"message\",\"recordTime\"]}]}}}},\"400\":{\"description\":\"Parameter atau isi permintaan yang tidak valid\",\"content\":{\"application/json\":{\"schema\":{\"type\":\"object\",\"properties\":{\"code\":{\"type\":\"integer\",\"format\":\"int32\",\"enum\":[0,100,101,202,300,301,302,303,400,404,500,503,600,601,602]},\"message\":{\"type\":[\"string\",\"null\"]},\"data\":{},\"recordTime\":{\"type\":[\"string\",\"null\"]},\"requestId\":{\"type\":\"string\"},\"reason\":{\"type\":\"string\"},\"requestParams\":{\"type\":\"object\",\"properties\":{\"query\":{\"type\":\"object\",\"additionalProperties\":{\"type\":\"object\"}},\"body\":{\"type\":\"object\",\"properties\":{\"empty\":{\"type\":\"boolean\"},\"array\":{\"type\":\"boolean\"},\"null\":{\"type\":\"boolean\"},\"object\":{\"type\":\"boolean\"},\"float\":{\"type\":\"boolean\"},\"integralNumber\":{\"type\":\"boolean\"},\"floatingPointNumber\":{\"type\":\"boolean\"},\"valueNode\":{\"type\":\"boolean\"},\"nodeType\":{\"type\":\"string\",\"enum\":[\"ARRAY\",\"BINARY\",\"BOOLEAN\",\"MISSING\",\"NULL\",\"NUMBER\",\"OBJECT\",\"POJO\",\"STRING\"]},\"string\":{\"type\":\"boolean\"},\"missingNode\":{\"type\":\"boolean\"},\"container\":{\"type\":\"boolean\"},\"pojo\":{\"type\":\"boolean\"},\"short\":{\"type\":\"boolean\"},\"int\":{\"type\":\"boolean\"},\"long\":{\"type\":\"boolean\"},\"double\":{\"type\":\"boolean\"},\"bigDecimal\":{\"type\":\"boolean\"},\"bigInteger\":{\"type\":\"boolean\"},\"textual\":{\"type\":\"boolean\",\"deprecated\":true},\"boolean\":{\"type\":\"boolean\"},\"binary\":{\"type\":\"boolean\"},\"number\":{\"type\":\"boolean\"},\"embeddedValue\":{\"type\":\"boolean\"}}}}}},\"required\":[\"code\",\"data\",\"message\",\"recordTime\"]}}}},\"401\":{\"description\":\"Token akses yang tidak valid atau tidak aktif\",\"content\":{\"application/json\":{\"schema\":{\"type\":\"object\",\"properties\":{\"code\":{\"type\":\"integer\",\"format\":\"int32\",\"enum\":[0,100,101,202,300,301,302,303,400,404,500,503,600,601,602]},\"message\":{\"type\":[\"string\",\"null\"]},\"data\":{},\"recordTime\":{\"type\":[\"string\",\"null\"]},\"requestId\":{\"type\":\"string\"},\"reason\":{\"type\":\"string\"},\"requestParams\":{\"type\":\"object\",\"properties\":{\"query\":{\"type\":\"object\",\"additionalProperties\":{\"type\":\"object\"}},\"body\":{\"type\":\"object\",\"properties\":{\"empty\":{\"type\":\"boolean\"},\"array\":{\"type\":\"boolean\"},\"null\":{\"type\":\"boolean\"},\"object\":{\"type\":\"boolean\"},\"float\":{\"type\":\"boolean\"},\"integralNumber\":{\"type\":\"boolean\"},\"floatingPointNumber\":{\"type\":\"boolean\"},\"valueNode\":{\"type\":\"boolean\"},\"nodeType\":{\"type\":\"string\",\"enum\":[\"ARRAY\",\"BINARY\",\"BOOLEAN\",\"MISSING\",\"NULL\",\"NUMBER\",\"OBJECT\",\"POJO\",\"STRING\"]},\"string\":{\"type\":\"boolean\"},\"missingNode\":{\"type\":\"boolean\"},\"container\":{\"type\":\"boolean\"},\"pojo\":{\"type\":\"boolean\"},\"short\":{\"type\":\"boolean\"},\"int\":{\"type\":\"boolean\"},\"long\":{\"type\":\"boolean\"},\"double\":{\"type\":\"boolean\"},\"bigDecimal\":{\"type\":\"boolean\"},\"bigInteger\":{\"type\":\"boolean\"},\"textual\":{\"type\":\"boolean\",\"deprecated\":true},\"boolean\":{\"type\":\"boolean\"},\"binary\":{\"type\":\"boolean\"},\"number\":{\"type\":\"boolean\"},\"embeddedValue\":{\"type\":\"boolean\"}}}}}},\"required\":[\"code\",\"data\",\"message\",\"recordTime\"]}}}},\"403\":{\"description\":\"Izin ditolak\",\"content\":{\"application/json\":{\"schema\":{\"type\":\"object\",\"properties\":{\"code\":{\"type\":\"integer\",\"format\":\"int32\",\"enum\":[0,100,101,202,300,301,302,303,400,404,500,503,600,601,602]},\"message\":{\"type\":[\"string\",\"null\"]},\"data\":{},\"recordTime\":{\"type\":[\"string\",\"null\"]},\"requestId\":{\"type\":\"string\"},\"reason\":{\"type\":\"string\"},\"requestParams\":{\"type\":\"object\",\"properties\":{\"query\":{\"type\":\"object\",\"additionalProperties\":{\"type\":\"object\"}},\"body\":{\"type\":\"object\",\"properties\":{\"empty\":{\"type\":\"boolean\"},\"array\":{\"type\":\"boolean\"},\"null\":{\"type\":\"boolean\"},\"object\":{\"type\":\"boolean\"},\"float\":{\"type\":\"boolean\"},\"integralNumber\":{\"type\":\"boolean\"},\"floatingPointNumber\":{\"type\":\"boolean\"},\"valueNode\":{\"type\":\"boolean\"},\"nodeType\":{\"type\":\"string\",\"enum\":[\"ARRAY\",\"BINARY\",\"BOOLEAN\",\"MISSING\",\"NULL\",\"NUMBER\",\"OBJECT\",\"POJO\",\"STRING\"]},\"string\":{\"type\":\"boolean\"},\"missingNode\":{\"type\":\"boolean\"},\"container\":{\"type\":\"boolean\"},\"pojo\":{\"type\":\"boolean\"},\"short\":{\"type\":\"boolean\"},\"int\":{\"type\":\"boolean\"},\"long\":{\"type\":\"boolean\"},\"double\":{\"type\":\"boolean\"},\"bigDecimal\":{\"type\":\"boolean\"},\"bigInteger\":{\"type\":\"boolean\"},\"textual\":{\"type\":\"boolean\",\"deprecated\":true},\"boolean\":{\"type\":\"boolean\"},\"binary\":{\"type\":\"boolean\"},\"number\":{\"type\":\"boolean\"},\"embeddedValue\":{\"type\":\"boolean\"}}}}}},\"required\":[\"code\",\"data\",\"message\",\"recordTime\"]}}}},\"429\":{\"description\":\"Laju permintaan atau batas kuota harian terlampaui\",\"content\":{\"application/json\":{\"schema\":{\"type\":\"object\",\"properties\":{\"code\":{\"type\":\"integer\",\"format\":\"int32\",\"enum\":[0,100,101,202,300,301,302,303,400,404,500,503,600,601,602]},\"message\":{\"type\":[\"string\",\"null\"]},\"data\":{},\"recordTime\":{\"type\":[\"string\",\"null\"]},\"requestId\":{\"type\":\"string\"},\"reason\":{\"type\":\"string\"},\"requestParams\":{\"type\":\"object\",\"properties\":{\"query\":{\"type\":\"object\",\"additionalProperties\":{\"type\":\"object\"}},\"body\":{\"type\":\"object\",\"properties\":{\"empty\":{\"type\":\"boolean\"},\"array\":{\"type\":\"boolean\"},\"null\":{\"type\":\"boolean\"},\"object\":{\"type\":\"boolean\"},\"float\":{\"type\":\"boolean\"},\"integralNumber\":{\"type\":\"boolean\"},\"floatingPointNumber\":{\"type\":\"boolean\"},\"valueNode\":{\"type\":\"boolean\"},\"nodeType\":{\"type\":\"string\",\"enum\":[\"ARRAY\",\"BINARY\",\"BOOLEAN\",\"MISSING\",\"NULL\",\"NUMBER\",\"OBJECT\",\"POJO\",\"STRING\"]},\"string\":{\"type\":\"boolean\"},\"missingNode\":{\"type\":\"boolean\"},\"container\":{\"type\":\"boolean\"},\"pojo\":{\"type\":\"boolean\"},\"short\":{\"type\":\"boolean\"},\"int\":{\"type\":\"boolean\"},\"long\":{\"type\":\"boolean\"},\"double\":{\"type\":\"boolean\"},\"bigDecimal\":{\"type\":\"boolean\"},\"bigInteger\":{\"type\":\"boolean\"},\"textual\":{\"type\":\"boolean\",\"deprecated\":true},\"boolean\":{\"type\":\"boolean\"},\"binary\":{\"type\":\"boolean\"},\"number\":{\"type\":\"boolean\"},\"embeddedValue\":{\"type\":\"boolean\"}}}}}},\"required\":[\"code\",\"data\",\"message\",\"recordTime\"]}}}},\"500\":{\"description\":\"Kesalahan server internal\",\"content\":{\"application/json\":{\"schema\":{\"type\":\"object\",\"properties\":{\"code\":{\"type\":\"integer\",\"format\":\"int32\",\"enum\":[0,100,101,202,300,301,302,303,400,404,500,503,600,601,602]},\"message\":{\"type\":[\"string\",\"null\"]},\"data\":{},\"recordTime\":{\"type\":[\"string\",\"null\"]},\"requestId\":{\"type\":\"string\"},\"reason\":{\"type\":\"string\"},\"requestParams\":{\"type\":\"object\",\"properties\":{\"query\":{\"type\":\"object\",\"additionalProperties\":{\"type\":\"object\"}},\"body\":{\"type\":\"object\",\"properties\":{\"empty\":{\"type\":\"boolean\"},\"array\":{\"type\":\"boolean\"},\"null\":{\"type\":\"boolean\"},\"object\":{\"type\":\"boolean\"},\"float\":{\"type\":\"boolean\"},\"integralNumber\":{\"type\":\"boolean\"},\"floatingPointNumber\":{\"type\":\"boolean\"},\"valueNode\":{\"type\":\"boolean\"},\"nodeType\":{\"type\":\"string\",\"enum\":[\"ARRAY\",\"BINARY\",\"BOOLEAN\",\"MISSING\",\"NULL\",\"NUMBER\",\"OBJECT\",\"POJO\",\"STRING\"]},\"string\":{\"type\":\"boolean\"},\"missingNode\":{\"type\":\"boolean\"},\"container\":{\"type\":\"boolean\"},\"pojo\":{\"type\":\"boolean\"},\"short\":{\"type\":\"boolean\"},\"int\":{\"type\":\"boolean\"},\"long\":{\"type\":\"boolean\"},\"double\":{\"type\":\"boolean\"},\"bigDecimal\":{\"type\":\"boolean\"},\"bigInteger\":{\"type\":\"boolean\"},\"textual\":{\"type\":\"boolean\",\"deprecated\":true},\"boolean\":{\"type\":\"boolean\"},\"binary\":{\"type\":\"boolean\"},\"number\":{\"type\":\"boolean\"},\"embeddedValue\":{\"type\":\"boolean\"}}}}}},\"required\":[\"code\",\"data\",\"message\",\"recordTime\"]}}}},\"503\":{\"description\":\"Layanan sementara tidak tersedia\",\"content\":{\"application/json\":{\"schema\":{\"type\":\"object\",\"properties\":{\"code\":{\"type\":\"integer\",\"format\":\"int32\",\"enum\":[0,100,101,202,300,301,302,303,400,404,500,503,600,601,602]},\"message\":{\"type\":[\"string\",\"null\"]},\"data\":{},\"recordTime\":{\"type\":[\"string\",\"null\"]},\"requestId\":{\"type\":\"string\"},\"reason\":{\"type\":\"string\"},\"requestParams\":{\"type\":\"object\",\"properties\":{\"query\":{\"type\":\"object\",\"additionalProperties\":{\"type\":\"object\"}},\"body\":{\"type\":\"object\",\"properties\":{\"empty\":{\"type\":\"boolean\"},\"array\":{\"type\":\"boolean\"},\"null\":{\"type\":\"boolean\"},\"object\":{\"type\":\"boolean\"},\"float\":{\"type\":\"boolean\"},\"integralNumber\":{\"type\":\"boolean\"},\"floatingPointNumber\":{\"type\":\"boolean\"},\"valueNode\":{\"type\":\"boolean\"},\"nodeType\":{\"type\":\"string\",\"enum\":[\"ARRAY\",\"BINARY\",\"BOOLEAN\",\"MISSING\",\"NULL\",\"NUMBER\",\"OBJECT\",\"POJO\",\"STRING\"]},\"string\":{\"type\":\"boolean\"},\"missingNode\":{\"type\":\"boolean\"},\"container\":{\"type\":\"boolean\"},\"pojo\":{\"type\":\"boolean\"},\"short\":{\"type\":\"boolean\"},\"int\":{\"type\":\"boolean\"},\"long\":{\"type\":\"boolean\"},\"double\":{\"type\":\"boolean\"},\"bigDecimal\":{\"type\":\"boolean\"},\"bigInteger\":{\"type\":\"boolean\"},\"textual\":{\"type\":\"boolean\",\"deprecated\":true},\"boolean\":{\"type\":\"boolean\"},\"binary\":{\"type\":\"boolean\"},\"number\":{\"type\":\"boolean\"},\"embeddedValue\":{\"type\":\"boolean\"}}}}}},\"required\":[\"code\",\"data\",\"message\",\"recordTime\"]}}}}}")'
  :servers='JSON.parse("[{\"url\":\"https://api.justoneapi.com\",\"description\":\"API produksi global (default)\"}]")'
  :security='JSON.parse("[]")'
  :securitySchemes='JSON.parse("{}")'
  :schemas='JSON.parse("{}")'
/>

<ApiHealthSection :api='JSON.parse("\"/api/weibo/get-followers/v1\"")' />

<p>Mengambil daftar akun yang diikuti oleh pengguna Weibo yang diidentifikasi dengan UID. Digunakan untuk memeriksa jaringan pengikut yang dikirimkan akun tersebut atau melanjutkan pencarian di daftar pengikut.</p>

## Parameter

<div class="api-doc-table api-doc-table--params">

| Nama | Lokasi | Jenis | Wajib | Bawaan | Deskripsi |
| --- | --- | --- | --- | --- | --- |
| <code>token</code> | query | <code>string</code> | Ya | - | Token akses API. |
| <code>uid</code> | query | <code>string</code> | Ya | - | ID Pengguna Weibo (UID). |
| <code>page</code> | query | <code>integer</code> | Tidak | <code>1</code> | Nomor halaman, dimulai dari 1. |

</div>

## Contoh Kode

::: code-group

```bash [🐚 cURL]
curl --max-time 120 -X GET 'https://api.justoneapi.com/api/weibo/get-followers/v1?token=YOUR_API_KEY&uid=VALUE'
```

```text [🤖 Prompt AI]
Saya ingin menggunakan API "Pengikut Pengguna (V1)" dari JustOneAPI.
URL dasar: https://api.justoneapi.com.
Jalur API: /api/weibo/get-followers/v1?token=YOUR_API_KEY&uid=VALUE
Endpoint API: BASE_URL + /api/weibo/get-followers/v1?token=YOUR_API_KEY&uid=VALUE
Metode HTTP: GET
Autentikasi: Tambahkan parameter query "token" ke URL.
Definisi OpenAPI: https://docs.justoneapi.com/openapi/weibo/user-followers-v1-id.json

Parameter:
- token (query): Token akses API. (Wajib)
- uid (query): ID Pengguna Weibo (UID). (Wajib)
- page (query): Nomor halaman, dimulai dari 1.

Format Kembalian: tangani dengan aman JSON atau teks sesuai dengan Content-Type yang sebenarnya.

Penanganan respons dan kode kesalahan:
1. Tentukan hasil pemrosesan dari kolom "code" dalam isi respons (code 0 berarti berhasil).
2. Batas waktu yang disarankan: Atur batas waktu permintaan menjadi 120 detik. Jika 120 detik terlalu lama untuk kebutuhan Anda, gunakan setidaknya 60 detik. Sebagian kecil permintaan mungkin mencapai batas waktu sebelum hasil diterima.
3. Kode hasil:
   - 0: Berhasil
   - 100: Token tidak valid atau tidak aktif
   - 301: Gagal mengambil data. Silakan coba lagi.
   - 302: Batas frekuensi permintaan terlampaui
   - 303: Kuota harian terlampaui
   - 400: Parameter tidak valid
   - 500: Kesalahan internal server
   - 600: Akses ditolak
   - 601: Saldo tidak mencukupi
   - 602: Batas anggaran token tercapai
4. Kode 601 berarti saldo bersama akun tidak mencukupi. Kode 602 berarti token API yang digunakan telah mencapai batas anggaran kumulatifnya sendiri. Menetapkan batas anggaran token tidak memindahkan dana dari saldo bersama akun.

Tolong bantu saya menulis skrip dalam bahasa pemrograman favorit saya untuk memanggil API ini dan menangani responsnya.
```

```python [🐍 Python]
import requests

BASE_URL = "https://api.justoneapi.com"  # Diberikan oleh server OpenAPI

url = BASE_URL + "/api/weibo/get-followers/v1?token=YOUR_API_KEY&uid=VALUE"
response = requests.get(url, timeout=120)
print(response.status_code)
if response.content:
    content_type = response.headers.get("content-type", "").lower()
    if "json" in content_type:
        try:
            print(response.json())
        except ValueError:
            print(response.text)
    elif content_type.startswith("text/") or "xml" in content_type or content_type.split(";", 1)[0].strip() in {"application/javascript", "application/x-www-form-urlencoded", "application/graphql"}:
        print(response.text)
    else:
        with open("response.bin", "wb") as output:
            output.write(response.content)
        print(f"Saved {len(response.content)} bytes to response.bin")
```

```js [🌐 JavaScript]
const BASE_URL = "https://api.justoneapi.com"; // Diberikan oleh server OpenAPI
const url = BASE_URL + "/api/weibo/get-followers/v1?token=YOUR_API_KEY&uid=VALUE";

const response = await fetch(url, {
  method: "GET",
  signal: AbortSignal.timeout(120000)
});
console.log(response.status);
const responseBytes = await response.arrayBuffer();
if (responseBytes.byteLength) {
  const contentType = (response.headers.get("content-type") || "").toLowerCase();
  const mediaType = contentType.split(";", 1)[0].trim();
  const textual = contentType.startsWith("text/") || contentType.includes("json") || contentType.includes("xml") || ["application/javascript", "application/x-www-form-urlencoded", "application/graphql"].includes(mediaType);
  if (textual) {
    const responseText = new TextDecoder().decode(responseBytes);
    let data = responseText;
    if (contentType.includes("json")) {
      try { data = JSON.parse(responseText); } catch { /* Keep the raw body. */ }
    }
    console.log(data);
  } else {
    console.log(`Received ${responseBytes.byteLength} binary bytes`);
  }
}
```

```java [☕ Java]
import java.net.URI;
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
import java.time.Duration;
import java.nio.charset.StandardCharsets;
import java.nio.file.Files;
import java.nio.file.Path;

public class Main {
    public static void main(String[] args) throws Exception {
        final String BASE_URL = "https://api.justoneapi.com"; // Diberikan oleh server OpenAPI
        final String url = BASE_URL + "/api/weibo/get-followers/v1?token=YOUR_API_KEY&uid=VALUE";

        HttpClient client = HttpClient.newBuilder().connectTimeout(Duration.ofSeconds(120)).build();
        HttpRequest.Builder builder = HttpRequest.newBuilder()
            .uri(URI.create(url))
            .timeout(Duration.ofSeconds(120))
            .method("GET", HttpRequest.BodyPublishers.noBody());

        HttpRequest request = builder.build();

        HttpResponse<byte[]> response = client.send(request, HttpResponse.BodyHandlers.ofByteArray());
        System.out.println(response.statusCode());
        String contentType = response.headers().firstValue("content-type").orElse("").toLowerCase();
        String mediaType = contentType.split(";", 2)[0].trim();
        if (contentType.startsWith("text/") || contentType.contains("json") || contentType.contains("xml") || mediaType.equals("application/javascript") || mediaType.equals("application/x-www-form-urlencoded") || mediaType.equals("application/graphql")) {
            System.out.println(new String(response.body(), StandardCharsets.UTF_8));
        } else {
            Files.write(Path.of("response.bin"), response.body());
            System.out.println("Saved " + response.body().length + " bytes to response.bin");
        }
    }
}
```

```go [🐹 Go]
package main

import (
	"fmt"
	"io"
	"os"
	"strings"
	"net/http"
	"time"
)

const BASE_URL = "https://api.justoneapi.com" // Diberikan oleh server OpenAPI

func main() {
	client := &http.Client{Timeout: 120 * time.Second}
	url := BASE_URL + "/api/weibo/get-followers/v1?token=YOUR_API_KEY&uid=VALUE"
	req, _ := http.NewRequest("GET", url, nil)
	resp, _ := client.Do(req)
	defer resp.Body.Close()
	fmt.Println(resp.StatusCode)
	bodyBytes, _ := io.ReadAll(resp.Body)
	contentType := strings.ToLower(resp.Header.Get("Content-Type"))
	mediaType := strings.TrimSpace(strings.SplitN(contentType, ";", 2)[0])
	if strings.HasPrefix(contentType, "text/") || strings.Contains(contentType, "json") || strings.Contains(contentType, "xml") || mediaType == "application/javascript" || mediaType == "application/x-www-form-urlencoded" || mediaType == "application/graphql" {
		fmt.Println(string(bodyBytes))
	} else {
		os.WriteFile("response.bin", bodyBytes, 0600)
		fmt.Printf("Saved %d bytes to response.bin\n", len(bodyBytes))
	}
}
```

```php [🐘 PHP]
<?php
$BASE_URL = 'https://api.justoneapi.com'; // Diberikan oleh server OpenAPI
$url = $BASE_URL . '/api/weibo/get-followers/v1?token=YOUR_API_KEY&uid=VALUE';

$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_TIMEOUT, 120);
curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "GET");
$response = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
$contentType = strtolower((string) curl_getinfo($ch, CURLINFO_CONTENT_TYPE));
curl_close($ch);
echo $status . PHP_EOL;
$mediaType = trim(explode(';', $contentType, 2)[0]);
if (str_starts_with($contentType, 'text/') || str_contains($contentType, 'json') || str_contains($contentType, 'xml') || in_array($mediaType, ['application/javascript', 'application/x-www-form-urlencoded', 'application/graphql'], true)) {
    echo $response;
} else {
    file_put_contents('response.bin', $response);
    echo 'Saved ' . strlen($response) . ' bytes to response.bin' . PHP_EOL;
}
```

:::

<div style="text-align: right; margin-top: -20px; margin-bottom: 20px;">
<a href="/openapi/weibo/user-followers-v1-id.json" target="_blank" style="font-size: 12px; color: var(--vp-c-text-3); text-decoration: none; opacity: 0.8;">[Definisi OpenAPI (JSON)]</a>
</div>

## Field Respons

Field Kunci dalam respons yang sukses (`code = 0`).

<div class="api-doc-table api-doc-table--response">

| Jalur Field | Jenis | Deskripsi |
| --- | --- | --- |
| <code>data</code> | - | Respons Weibo untuk akun yang diikuti oleh pengguna yang diminta. Respons hanya berupa status dapat menghilangkan daftar. |
| <code>data.ok</code> | <code>integer</code> | Status daftar yang dilaporkan oleh Weibo. Sukses API eksternal masih dapat mengandung pesan status internal tanpa daftar. |
| <code>data.screenName</code> | <code>string</code> | Nama layar yang dilaporkan bersama dengan daftar akun yang diikuti. |
| <code>data.total_number</code> | <code>integer</code> | Jumlah total akun yang diikuti yang dilaporkan oleh Weibo. |
| <code>data.next_cursor</code> | <code>integer</code> | Kursor berikutnya yang dilaporkan dalam respons. Gunakan parameter kueri halaman untuk permintaan selanjutnya. |
| <code>data.previous_cursor</code> | <code>integer</code> | Kursor sebelumnya yang dilaporkan dalam respons. |
| <code>data.users</code> | <code>array</code> | Akun yang diikuti oleh pengguna yang diminta, jika daftar tersedia. |
| <code>data.users[]</code> | <code>object</code> | Satu akun yang diikuti dalam daftar yang dikembalikan. |
| <code>data.users[].id</code> | <code>integer</code> | ID akun Weibo numerik. |
| <code>data.users[].idstr</code> | <code>string</code> | ID akun Weibo yang dikembalikan sebagai string. |
| <code>data.users[].screen_name</code> | <code>string</code> | Nama tampilan Weibo yang ditampilkan untuk pengguna. |
| <code>data.users[].name</code> | <code>string</code> | Field nama yang dikembalikan untuk profil pengguna. |
| <code>data.users[].description</code> | <code>string</code> | Teks biografi profil. Bisa kosong. |
| <code>data.users[].location</code> | <code>string</code> | Lokasi tampilan yang ditampilkan dalam profil. |
| <code>data.users[].province</code> | <code>string</code> | Kode provinsi yang dilaporkan dalam profil sebagai string. |
| <code>data.users[].city</code> | <code>string</code> | Kode kota yang dilaporkan dalam profil sebagai string. |
| <code>data.users[].gender</code> | <code>string</code> | Kode jenis kelamin yang dilaporkan dalam profil. |
| <code>data.users[].created_at</code> | <code>string</code> | Waktu pembuatan akun seperti yang ditampilkan dalam teks. |
| <code>data.users[].profile_url</code> | <code>string</code> | Link profil pengguna yang dikembalikan oleh Weibo. Bisa jadi path relatif. |
| <code>data.users[].url</code> | <code>string</code> | URL situs web eksternal yang disediakan oleh profil pengguna jika tersedia. |
| <code>data.users[].profile_image_url</code> | <code>string</code> | URL avatar profil. |
| <code>data.users[].avatar_large</code> | <code>string</code> | URL avatar profil besar. |
| <code>data.users[].avatar_hd</code> | <code>string</code> | URL avatar profil dengan resolusi tinggi. |
| <code>data.users[].verified</code> | <code>boolean</code> | Apakah profil tersebut ditandai sebagai verifikasi. |
| <code>data.users[].verified_type</code> | <code>integer</code> | Kode jenis verifikasi yang dilaporkan untuk pengguna. |
| <code>data.users[].verified_reason</code> | <code>string</code> | Deskripsi verifikasi yang ditampilkan untuk pengguna jika tersedia. |
| <code>data.users[].mbrank</code> | <code>integer</code> | Tingkat keanggotaan Weibo yang dilaporkan untuk akun tersebut. |
| <code>data.users[].mbtype</code> | <code>integer</code> | Kode jenis keanggotaan Weibo yang dilaporkan untuk akun tersebut. |
| <code>data.users[].followers_count</code> | <code>integer</code> | Jumlah pengikut berupa angka yang dilaporkan untuk profil ini. |
| <code>data.users[].followers_count_str</code> | <code>string</code> | Teks yang ditampilkan untuk jumlah pengikut, yang mungkin disingkat. |
| <code>data.users[].friends_count</code> | <code>integer</code> | Jumlah akun yang diikuti oleh pengguna. |
| <code>data.users[].bi_followers_count</code> | <code>integer</code> | Jumlah akun yang saling diikuti oleh pengguna. |
| <code>data.users[].statuses_count</code> | <code>integer</code> | Jumlah postingan untuk pengguna yang dilaporkan. |
| <code>data.users[].favourites_count</code> | <code>integer</code> | Jumlah penambahan ke favorit untuk pengguna yang dilaporkan. |
| <code>data.users[].status_total_counter</code> | <code>object</code> | Jumlah interaksi total terhadap postingan yang dilaporkan untuk pengguna. |
| <code>data.users[].status_total_counter.comment_cnt</code> | <code>integer</code> | Jumlah komentar total pada postingan pengguna. |
| <code>data.users[].status_total_counter.comment_like_cnt</code> | <code>integer</code> | Jumlah yang mirip dengan komentar pada postingan pengguna. |
| <code>data.users[].status_total_counter.like_cnt</code> | <code>integer</code> | Jumlah yang mirip dengan postingan pada pengguna. |
| <code>data.users[].status_total_counter.repost_cnt</code> | <code>integer</code> | Jumlah postingan ulang yang dilaporkan untuk postingan pengguna. |
| <code>data.users[].status_total_counter.total_cnt</code> | <code>integer</code> | Jumlah interaksi total yang dilaporkan dalam penghitungan postingan. |
| <code>data.users[].video_status_count</code> | <code>integer</code> | Jumlah postingan video yang dilaporkan untuk pengguna. |
| <code>data.users[].video_play_count</code> | <code>integer</code> | Jumlah penayangan video yang langsung dilaporkan dalam ringkasan profil. |
| <code>data.users[].video_total_counter</code> | <code>object</code> | Penghitungan total video yang dilaporkan untuk pengguna. |
| <code>data.users[].video_total_counter.play_cnt</code> | <code>integer</code> | Jumlah penayangan video yang dilaporkan dalam penghitungan video. |
| <code>data.users[].lang</code> | <code>string</code> | Kode bahasa yang dilaporkan untuk profil akun. |
| <code>data.users[].cover_image</code> | <code>string</code> | URL gambar sampul profil, jika diberikan. |
| <code>data.users[].cover_image_phone</code> | <code>string</code> | URL gambar sampul profil untuk tampilan mobile, jika diberikan. |
| <code>data.users[].verified_type_ext</code> | <code>integer</code> | Kode jenis verifikasi tambahan yang dilaporkan untuk akun tersebut. |
| <code>data.users[].video_cover</code> | <code>object</code> | Informasi gambar sampul video yang diberikan untuk profil, jika ada. |
| <code>data.users[].video_cover.mid</code> | <code>integer</code> | ID pesan Weibo berangka yang diberikan bersama dengan gambar sampul video. |

</div>

## Contoh Respons

<ApiExampleSection :api='JSON.parse("\"/api/weibo/get-followers/v1\"")' />

