Sand AISand AI MAGI-2MAGI-2 artık SandBase'de: yerel sesli 1080p videoŞimdi deneyin

Weibo User Articles

API dokümanları
https://api.sandbase.ai/v1/api/weibo/app/user-articles

Returns a list of articles released by a specified Weibo user. Supports pagination via a cursor parameter.

Fiyat
$0.001USD / çağrı
Yöntem
POST
Yanıt
JSON
Parametreler
1 gerekli · 1 isteğe bağlı

Oynatma Alanı

Girdi
User ID (required)
Pagination cursor, don't pass for first request, use returned since_id for subsequent requests
ÇıktıHazır

Çıktınız burada görünecek

Girdileri tamamlayın, ardından Çalıştır'a tıklayın.

API README

Weibo User Articles API

Returns a list of feed items posted by a Weibo user, based on the user's uid. Each item carries post data such as like counts and image URLs, and the response includes a cursor for the next page.

Use cases

  • Pull the latest feed items from a Weibo account to review what it has published.
  • Collect like counts for a user's posts to compare which ones got the most reaction.
  • Page through a user's feed with the returned cursor to build an archive of their posts.
  • Extract image URLs from a user's posts to gather the pictures they shared.

Request

curl -X POST "https://api.sandbase.ai/v1/api/weibo/app/user-articles" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"uid": "1725941200"}'

The result is returned in outputs[0].data.

Parameters

NameTypeRequiredDescription
uidstringYesUser ID (required)
since_idstringNoPagination cursor, don't pass for first request, use returned since_id for subsequent requests

Example response

Real response for the request above, trimmed: lists keep their first item and long strings are cut.

{
  "__profile_card_server__": {
    "from": "SHANHAI-SERVER"
  },
  "config": "{}",
  "items": [
    {
      "category": "cell",
      "span": {
        "style": {
          "height": 10
        }
      },
      "type": "span"
    }
  ],
  "loadedInfo": "{}",
  "moreInfo": {
    "error": "网络加载失败,请稍后尝试",
    "loading": "正在加载更多",
    "moreType": "default",
    "pagingType": "cursor",
    "params": {
      "count": 20,
      "max_id": 0,
      "since_id": "5344278831435751_0_0"
    }
  },
  "navInfo": "{}",
  "pageData": "{}",
  "refreshInfo": "{}"
}

Response fields

FieldMeaning
items[]List of entries on the page. Entries with category set to feed are posts. Entries with category set to cell and type set to span are spacing elements with no post data.
items[].category / items[].typeKind of entry. Use category to tell post entries (feed) apart from layout entries (cell).
items[].data.attitudes_countNumber of likes on the post.
items[].data.bmiddle_picURL of the medium-size picture attached to the post, when the post has one.
items[].data.ad_markedBoolean that shows whether the post is marked as an ad.
items[].data.annotations[]List of small objects with extra post details, such as client_mblogid. The keys differ from one object to the next.
items[].itemExt.anchorId / items[].itemExt.extraItemIdIdentifiers for the entry within the feed, for example 2319121725941200_-_ordinary.
moreInfo.params.since_idCursor value for the next page, for example 5344278831435751_0_0.
moreInfo.params.countPage size that the cursor uses. The sample value is 20.
moreInfo.pagingTypePaging method. The value cursor means you page with since_id.

Notes

  • Leave out since_id on the first request. For the next page, pass the value from moreInfo.params.since_id as since_id.
  • Some fields in the response, such as config, loadedInfo, navInfo, pageData and refreshInfo, are JSON strings that hold {} in the sample.
  • Filter items[] on category equal to feed to skip the spacing entries.
  • To read the full content of one post, call Weibo Post Detail (App). To get the account's profile, call Weibo User Profile Information.

Pricing

$0.001 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.

Daha fazlasını keşfedin

İlgili APIs

Tüm APIs
APIFiyatYanıt
Weibo$0.001 çağrı başınaJSON
Weibo$0.001 çağrı başınaJSON
Weibo$0.001 çağrı başınaJSON
Weibo$0.001 çağrı başınaJSON
Weibo$0.001 çağrı başınaJSON
Weibo$0.001 çağrı başınaJSON

Kılavuzlar:Best Weibo API in 2026: Pricing Compared

Sorular

SSS

Weibo User Articles API'sini nasıl kullanırım?

SandBase API anahtarınızı Authorization başlığında (Bearer) ve parametreleri JSON gövdesi olarak ile https://api.sandbase.ai/v1/api/weibo/app/user-articles adresine bir POST isteği gönderin. Ayrıca bu sayfadaki Playground’da kod yazmadan da deneyebilirsiniz.

Weibo User Articles API'sinin fiyatı nedir?

çağrı başına $0.001, SandBase bakiyenizden tahsil edilir. Yalnızca yaptığınız çağrılar için ücretlendirilirsiniz; abonelik yoktur.

Weibo User Articles API'si hangi parametreleri kabul eder?

Gerekli: uid (string). İsteğe bağlı: since_id (any). Parametreler tablosu ve bu sayfadaki Playground, tüm alanları listeler.

Weibo User Articles API'si ne döndürür?

Aynı HTTP isteğinde döndürülen bir JSON yanıtı (senkron). Bu sayfadaki README'de örnek bir yanıt yer alır.

Bir Weibo geliştirici hesabına veya API anahtarına ihtiyacım var mı?

Hayır. Weibo User Articles, SandBase üzerinden çalışır; bu nedenle tek bir SandBase API anahtarı bu uç noktayı ve katalogdaki diğer tüm API'leri ve modelleri kapsar. Weibo API erişimi için ayrıca başvuru yapmanız gerekmez.