uidstringआवश्यक
Weibo User ID (UID).
https://api.sandbase.ai/v1/api/weibo/followersGet a page of accounts followed by a Weibo user identified by UID. Use it to examine the account's outgoing follow network or continue through its following list.
आपका आउटपुट यहाँ दिखाई देगा
इनपुट पूरा करें, फिर Run पर क्लिक करें।
Returns one page of the accounts that a Weibo user follows. It needs the user's numeric uid and takes an optional page number.
followers_count and description for each followed account to find large or relevant accounts.follow_me and bi_followers_count.curl -X POST "https://api.sandbase.ai/v1/api/weibo/followers" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"uid": "2803301701"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
uid | string | Yes | Weibo User ID (UID). |
page | integer | No | Page number, starting with 1. |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"fill_material": 0,
"has_filtered_attentions": false,
"has_filtered_fans": false,
"next_cursor": 20,
"ok": 1,
"previous_cursor": 0,
"screenName": "人民日报",
"show_related_topic": false,
"show_unread": false,
"sort_type": 0,
"total_number": 419,
"type": 0
}
| Field | Meaning |
|---|---|
screenName | Display name of the user whose following list you requested. |
total_number | Total number of accounts in the following list. The sample shows 419. |
next_cursor / previous_cursor | Position markers for the next and previous page. The sample shows 20 for next_cursor and 0 for previous_cursor. |
users[] | The followed accounts on this page. Each item is one account profile. |
users[].created_at | Date and time the followed account was created, as text such as Wed Jan 23 12:51:13 +0800 2013. |
users[].description | Bio text of the followed account. It can be an empty string. |
users[].followers_count / users[].followers_count_str | Number of followers of the followed account. The _str field is the shortened display text, for example 519万. |
users[].friends_count | Number of accounts the followed account itself follows. |
users[].bi_followers_count | Count of mutual follow relationships for the followed account. |
users[].domain / users[].gender | Custom URL domain name and gender code of the followed account. These fields are missing or empty on some accounts. |
users[].avatar_hd / users[].avatar_large / users[].cover_image | Image URLs for the avatar and the profile cover. The avatar URLs carry an Expires parameter. |
page starting at 1 to move through the list. Check next_cursor and total_number to see how much is left.gender and cover_image, are not present on every account. Handle missing keys.$0.014286 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/weibo/followers" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"uid": "2803301701",
"page": 1
}'अपने SandBase API key को अपने सर्वर environment में सेट करें। Requests Bearer authentication का उपयोग करती हैं।
export SANDBASE_API_KEY="YOUR_API_KEY"अपना key सर्वर पर रखें। इसे browser code में expose न करें।
uidstringआवश्यकWeibo User ID (UID).
pageintegerPage number, starting with 1.
डिफ़ॉल्ट: 1
इस API के लिए सेव किया गया example response; इसे देखते समय कोई live request नहीं की जाती।
कोई सेव response प्रकाशित नहीं किया गया है। इसका response देखने के लिए Playground में API चलाएँ।
और जानें
| API | कीमत | प्रतिक्रिया |
|---|---|---|
Weibo User Followersयह API Weibo | $0.014286 प्रति कॉल | JSON |
Weibo | $0.001 प्रति कॉल | JSON |
Weibo | $0.001 प्रति कॉल | JSON |
Weibo | $0.001 प्रति कॉल | JSON |
Weibo | $0.001 प्रति कॉल | JSON |
Weibo | $0.001 प्रति कॉल | JSON |
प्रश्न
https://api.sandbase.ai/v1/api/weibo/followers पर Authorization header (Bearer) में अपनी SandBase API key और parameters को JSON body के रूप में भेजें। आप इस पेज के Playground में बिना code लिखे भी इसे आज़मा सकते हैं।
$0.014286 प्रति call, आपकी SandBase balance से बिल किया जाएगा। आपसे केवल आपके किए गए calls के लिए शुल्क लिया जाता है; कोई subscription नहीं है।
आवश्यक: uid (string)। वैकल्पिक: page (integer)। Parameters table और इस पेज का Playground हर field सूचीबद्ध करते हैं।
एक JSON response जो उसी HTTP request में लौटाया जाता है (synchronous)। इस पेज का README एक sample response शामिल करता है।
नहीं। Weibo User Followers SandBase के माध्यम से चलता है, इसलिए एक SandBase API key इस endpoint और catalog के हर अन्य API और model को कवर करती है। आपको अलग से Weibo API access के लिए आवेदन करने की आवश्यकता नहीं है।