Sand AISand AI MAGI-2MAGI-2 ist jetzt auf SandBase: 1080p-Video mit nativem AudioJetzt testen

Weibo App User Profile Feed

API-Dokumentation
https://api.sandbase.ai/v1/api/weibo/app/user-profile-feed

Retrieves the profile feed cards for a specified user on Weibo. Query by target user identifier with support for cursor-based pagination.

Preis
$0.001USD / Aufruf
Methode
POST
Antwort
JSON
Parameter
1 erforderlich · 1 optional

Playground

Eingabe
User ID (required)
Pagination cursor, don't pass for first request, use returned since_id for subsequent requests
AusgabeBeispiel
Antwortoutputs · 1.8 KB · 63 Zeilen
[
  {
    "data": {
      "__profile_card_server__": {
        "from": "SHANHAI-SERVER"
      },
      "config": "{}",
      "items": [
        {
          "category": "card",
          "data": {
            "button_background_color": "#FFFFFF",
            "button_dark_background_color": "#242424",
            "button_scheme": "",
            "button_selected_background_color": "#F7F7F7",
            "button_selected_dark_background_color": "#1E1E1E",
            "button_selected_dark_text_color": "#EA8011",
            "button_selected_text_color": "#FF8200",
            "card_type": 58,
            "dotted_line": true,
            "height": 60,
            "itemid": "ihlkhl-9797",
            "name": "没有更多动态,去看看她的微博内容吧",
            "name_bold": false,
            "name_color": "#939393",
            "name_color_dark": "#888888",
            "name_size": 12,
            "openurl": "",
            "rich_arrow": true,
            "rich_arrow_dark_image": "",
            "rich_arrow_image": "",
            "rich_text": "",
            "rich_text_color": "#507DAF",
            "rich_text_dark_color": "#7691B9",
            "rich_text_scheme": "",
            "scheme": "",
            "user_icon_image": "https://h5.sinaimg.cn/upload/100/1473/2020/12/16/normalarrow.png",
            "user_icon_image_dark": "https://h5.sinaimg.cn/upload/100/1473/2020/12/16/normalarrow.png"
          },
          "itemExt": null,
          "style": {
            "margin": [
              0,
              10,
              0,
              "… 1 more items in the full response"
            ],
            "padding": [
              0,
              0,
              0,
              "… 1 more items in the full response"
            ]
          }
        }
      ],
      "loadedInfo": "{}",
      "navInfo": "{}",
      "pageData": "{}",
      "refreshInfo": "{}"
    }
  }
]

Beispiele

Wählen Sie ein Beispiel aus, um seine Eingaben und das Ergebnis in den Playground zu laden.

API-README

Weibo App User Profile Feed API

Returns the profile feed cards for a Weibo user as a list of card objects. It needs the target user ID in uid and accepts an optional since_id cursor for the next page.

Use cases

  • Check whether a Weibo account has any feed cards before you call a timeline API.
  • Page through an account's profile feed by passing the returned since_id back in the next request.
  • Read card layout and styling values to see how the Weibo app renders a profile feed.

Request

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

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": "card",
      "data": {
        "button_background_color": "#FFFFFF",
        "button_dark_background_color": "#242424",
        "button_scheme": "",
        "button_selected_background_color": "#F7F7F7",
        "button_selected_dark_background_color": "#1E1E1E",
        "button_selected_dark_text_color": "#EA8011",
        "button_selected_text_color": "#FF8200",
        "card_type": 58
      },
      "itemExt": null,
      "style": {
        "margin": [
          0
        ],
        "padding": [
          0
        ]
      }
    }
  ],
  "loadedInfo": "{}",
  "navInfo": "{}",
  "pageData": "{}",
  "refreshInfo": "{}"
}

Response fields

FieldMeaning
items[]List of feed cards for the profile. Each entry holds one card.
items[].categoryType of the entry. The sample value is card.
items[].data.card_typeNumeric card type. The sample value is 58.
items[].data.button_background_color / items[].data.button_selected_background_colorHex background colors for a button in the card, in its normal and selected states.
items[].data.button_selected_text_colorHex text color for the selected button state.
items[].data.button_dark_background_color / items[].data.button_selected_dark_background_colorHex background colors for the same button in dark mode.
items[].style.margin / items[].style.paddingLists of spacing numbers the app uses to lay out the card.
items[].itemExtExtra item data. It is null in the sample response.
config / loadedInfo / navInfo / pageData / refreshInfoStrings that hold JSON. All of them are "{}" in the sample response.

Notes

  • Get the uid from a user lookup, for example Weibo User Profile Information.
  • Leave since_id out on the first request. For later pages, pass the since_id value that the previous response returned.
  • For the posts themselves, call Weibo User Timeline.
  • The sample response holds a single card with no post data, so check items[].data for the card contents.

Pricing

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

Mehr entdecken

Verwandte APIs

Alle APIs
APIPreisAntwort
Weibo$0.001 pro AufrufJSON
Weibo$0.001 pro AufrufJSON
Weibo$0.001 pro AufrufJSON
Weibo$0.001 pro AufrufJSON
Weibo$0.001 pro AufrufJSON
Weibo$0.001 pro AufrufJSON

Anleitungen:Best Weibo API in 2026: Pricing Compared

Fragen

FAQ

Wie verwende ich die Weibo App User Profile Feed API?

Senden Sie eine POST-Anfrage an https://api.sandbase.ai/v1/api/weibo/app/user-profile-feed mit Ihrem SandBase API-Schlüssel im Authorization-Header (Bearer) und den Parametern als JSON-Body. Sie können das auch ohne Code direkt auf dieser Seite im Playground testen.

Was kostet die Weibo App User Profile Feed API?

$0.001 pro Aufruf, abgerechnet von Ihrem SandBase-Guthaben. Es werden nur die von Ihnen getätigten Aufrufe berechnet; es gibt kein Abo.

Welche Parameter akzeptiert die Weibo App User Profile Feed API?

Erforderlich: uid (string). Optional: since_id (any). Die Parametertabelle und der Playground auf dieser Seite listen jedes Feld auf.

Was gibt die Weibo App User Profile Feed API zurück?

Eine JSON-Antwort, die in derselben HTTP-Anfrage zurückgegeben wird (synchron). Die README auf dieser Seite enthält eine Beispielantwort.

Benötige ich ein Weibo-Entwicklerkonto oder einen API-Schlüssel?

Nein. Weibo App User Profile Feed läuft über SandBase, daher deckt ein SandBase API-Schlüssel diesen Endpunkt und jede andere API sowie jedes Modell im Katalog ab. Sie müssen keinen separaten Zugang für Weibo API beantragen.