user_idstringआवश्यक
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.
आपका आउटपुट यहाँ दिखाई देगा
इनपुट पूरा करें, फिर 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.
बिल्डिंग शुरू करें
एकीकृत authentication और usage tracking के साथ Platform API endpoint.
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"
}'अपने SandBase API key को अपने सर्वर environment में सेट करें। Requests Bearer authentication का उपयोग करती हैं।
export SANDBASE_API_KEY="YOUR_API_KEY"अपना key सर्वर पर रखें। इसे browser code में expose न करें।
user_idstringआवश्यकUser 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.
इस API के लिए सेव किया गया example response; इसे देखते समय कोई live request नहीं की जाती।
कोई सेव response प्रकाशित नहीं किया गया है। इसका response देखने के लिए Playground में API चलाएँ।
और जानें
| API | कीमत | प्रतिक्रिया |
|---|---|---|
Lemon8 | $0.001 प्रति कॉल | JSON |
Lemon8 | $0.001 प्रति कॉल | JSON |
Lemon8 | $0.001 प्रति कॉल | JSON |
Lemon8 | $0.001 प्रति कॉल | JSON |
Lemon8 | $0.001 प्रति कॉल | JSON |
Lemon8 | $0.001 प्रति कॉल | JSON |
प्रश्न
https://api.sandbase.ai/v1/api/lemon8/app/user-following-list पर Authorization header (Bearer) में अपनी SandBase API key और parameters को JSON body के रूप में भेजें। आप इस पेज के Playground में बिना code लिखे भी इसे आज़मा सकते हैं।
$0.001 प्रति call, आपकी SandBase balance से बिल किया जाएगा। आपसे केवल आपके किए गए calls के लिए शुल्क लिया जाता है; कोई subscription नहीं है।
आवश्यक: user_id (string)। वैकल्पिक: cursor (string)। Parameters table और इस पेज का Playground हर field सूचीबद्ध करते हैं।
एक JSON response जो उसी HTTP request में लौटाया जाता है (synchronous)। इस पेज का README एक sample response शामिल करता है।
नहीं। Lemon8 User Following List SandBase के माध्यम से चलता है, इसलिए एक SandBase API key इस endpoint और catalog के हर अन्य API और model को कवर करती है। आपको अलग से Lemon8 API access के लिए आवेदन करने की आवश्यकता नहीं है।