user_idstringobrigatório
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.
Sua saída aparecerá aqui
Preencha as entradas e clique em Executar.
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.
Comece a construir
Endpoint da API da plataforma com autenticação unificada e rastreamento de uso.
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"
}'Defina sua chave da API SandBase no ambiente do seu servidor. As requisições usam autenticação Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Mantenha sua chave no servidor. Não a exponha em código do navegador.
user_idstringobrigatórioUser 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.
Resposta de exemplo salva para esta API; nenhuma requisição ao vivo é feita ao visualizá-la.
Nenhuma resposta salva foi publicada. Execute a API no Playground para inspecionar a resposta.
Explorar mais
| API | Preço | Resposta |
|---|---|---|
Lemon8 User Following ListEsta API Lemon8 | $0.001 por chamada | JSON |
Lemon8 | $0.001 por chamada | JSON |
Lemon8 | $0.001 por chamada | JSON |
Lemon8 | $0.001 por chamada | JSON |
Lemon8 | $0.001 por chamada | JSON |
Lemon8 | $0.001 por chamada | JSON |
Perguntas
Envie uma solicitação POST para https://api.sandbase.ai/v1/api/lemon8/app/user-following-list com sua chave de API da SandBase no cabeçalho Authorization (Bearer) e os parâmetros no corpo JSON. Você também pode testar no Playground desta página sem escrever código.
$0.001 por chamada, cobrado do seu saldo SandBase. Você paga apenas pelas chamadas que fizer; não há assinatura.
Obrigatórios: user_id (string). Opcionais: cursor (string). A tabela de Parâmetros e o Playground nesta página listam todos os campos.
Uma resposta JSON retornada na mesma solicitação HTTP (síncrona). O README desta página inclui um exemplo de resposta.
Não. Lemon8 User Following List funciona via SandBase, então uma única chave de API da SandBase cobre este endpoint e todas as outras APIs e modelos do catálogo. Você não precisa solicitar acesso à API do Lemon8 separadamente.