user_idstringwajib
User ID, can be obtained from the interface `/lemon8/app/get_user_id`
https://api.sandbase.ai/v1/api/lemon8/app/user-following-listReturns the list of accounts followed by a specified Lemon8 user. Accepts a user identifier and supports cursor-based pagination for browsing results.
Output Anda akan muncul di sini
Lengkapi input, lalu klik Run.
Returns the accounts that a Lemon8 user follows. Each entry has the account's name, handle, avatar, and profile link. The API needs the numeric user_id of the user whose following list you want.
curl -X POST "https://api.sandbase.ai/v1/api/lemon8/app/user-following-list" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"user_id": "7428056850216862763"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
user_id | string | Yes | User ID, can be obtained from the interface /lemon8/app/get_user_id |
cursor | string | No | Pagination parameter, can be obtained from the return result of the last request. It is empty for the first request, and the cursor returned by the last request is used for subsequent requests. |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"data": {
"cursor": 30,
"data": [
{
"description": "",
"hide_follow_button": 0,
"icon_url": "https://p16-lemon8-cross-sign.tiktokcdn-us.com/tos-useast5-i-pyavlv3z7u-tx/deb33…",
"is_canceled": false,
"is_follow_apply": 0,
"is_followed": 0,
"is_following": 0,
"name": "Anna Kate",
"privacy_status": 1,
"share_url": "https://www.lemon8-app.com/@anna.kate832",
"user_auth_info": "{\"auth_type\":0,\"show_auth_symbol\":false}",
"user_id": 7415435863247127594
}
],
"has_more": true
},
"error_code": 0,
"error_message": "",
"message": "success",
"server_time": "1793691395.56"
}
| Field | Meaning |
|---|---|
data.data[].user_id | Numeric ID of the followed account. Use it in other Lemon8 calls that take a user_id. |
data.data[].name | Display name of the followed account. It can contain emoji and special characters. |
data.data[].user_unique_name | Unique handle of the account. It matches the part after @ in share_url. |
data.data[].share_url | Public Lemon8 profile link of the followed account. |
data.data[].icon_url | Avatar image URL, sized 150x150 in the sample. |
data.data[].description | Profile description text. It is an empty string for the sample accounts. |
data.data[].is_following / data.data[].is_followed | Follow-state flags for the account, returned as 0 or 1 numbers. Both are 0 in the sample. |
data.data[].user_auth_info | JSON string with verification details, such as auth_type and show_auth_symbol. |
data.cursor | Cursor value for the next page. The sample returns 30. |
data.has_more | true when more accounts remain after this page. |
user_id from Lemon8 User ID from Share Link if you only have a profile share link.cursor empty on the first call. For the next page, pass the value of data.cursor as cursor, and stop when data.has_more is false.user_id in each list item is a number, while the request parameter user_id is a string.$0.001 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.
Mulai membangun
Endpoint API platform dengan autentikasi dan pelacakan penggunaan terpadu.
curl -X POST "https://api.sandbase.ai/v1/api/lemon8/app/user-following-list" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"user_id": "7428056850216862763"
}'Atur SandBase API key Anda di environment server Anda. Permintaan menggunakan autentikasi Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Simpan key Anda di server. Jangan tampilkan di kode browser.
user_idstringwajibUser ID, can be obtained from the interface `/lemon8/app/get_user_id`
cursorstringPagination parameter, can be obtained from the return result of the last request. It is empty for the first request, and the cursor returned by the last request is used for subsequent requests.
Contoh respons yang disimpan untuk API ini; tidak ada permintaan langsung yang dibuat saat melihatnya.
Belum ada respons tersimpan yang dipublikasikan. Jalankan API di Playground untuk melihat responsnya.
Jelajahi lebih lanjut
| API | Harga | Respons |
|---|---|---|
Lemon8 User Following ListAPI ini Lemon8 | $0.001 per panggilan | JSON |
Lemon8 | $0.001 per panggilan | JSON |
Lemon8 | $0.001 per panggilan | JSON |
Lemon8 | $0.001 per panggilan | JSON |
Lemon8 | $0.001 per panggilan | JSON |
Lemon8 | $0.001 per panggilan | JSON |
Pertanyaan
Kirim permintaan POST ke https://api.sandbase.ai/v1/api/lemon8/app/user-following-list dengan kunci API SandBase Anda di header Authorization (Bearer) dan parameter sebagai body JSON. Anda juga dapat mencobanya di Playground di halaman ini tanpa menulis kode.
$0.001 per panggilan, ditagihkan dari saldo SandBase Anda. Anda hanya dikenai biaya untuk panggilan yang Anda lakukan; tidak ada langganan.
Wajib: user_id (string). Opsional: cursor (string). Tabel Parameters dan Playground di halaman ini mencantumkan setiap field.
Respons JSON yang dikembalikan dalam permintaan HTTP yang sama (sinkron). README di halaman ini menyertakan contoh respons.
Tidak. Lemon8 User Following List berjalan melalui SandBase, jadi satu kunci API SandBase mencakup endpoint ini dan setiap API serta model lain di katalog. Anda tidak perlu mendaftar akses API Lemon8 secara terpisah.