Sand AISand AI MAGI-2MAGI-2 hiện đã có trên SandBase: video 1080p với âm thanh gốcDùng thử ngay

Weibo Image Comment Permission Check

Tài liệu API
https://api.sandbase.ai/v1/api/weibo/web-v2/check-allow-comment-with-pic

Checks whether a specific Weibo post permits image attachments in user comments. Returns the image comment eligibility status using the provided post ID.

Giá
$0.001USD / lượt gọi
Phương thức
POST
Phản hồi
JSON
Tham số
1 bắt buộc · 0 tùy chọn

Phòng thử nghiệm

Đầu vào
Weibo post ID (required)
Đầu raVí dụ
Phản hồioutputs · 67 B · 8 dòng
[
  {
    "data": {
      "ok": 1,
      "result": true
    }
  }
]

Ví dụ

Chọn một ví dụ để nạp đầu vào và kết quả của nó vào playground.

README API

Weibo Image Comment Permission Check API

Returns whether a Weibo post allows users to attach images to their comments. It needs one input, the Weibo post id.

Use cases

  • Check a post before showing an image upload option in a comment tool.
  • Screen a list of monitored posts to see which ones accept image comments.
  • Filter target posts by image comment eligibility before running a comment campaign.

Request

curl -X POST "https://api.sandbase.ai/v1/api/weibo/web-v2/check-allow-comment-with-pic" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"id": "5092682368025584"}'

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

Parameters

NameTypeRequiredDescription
idstringYesWeibo post ID (required)

Example response

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

{
  "ok": 1,
  "result": true
}

Response fields

FieldMeaning
resultImage comment eligibility for the post. true means the post allows image attachments in comments, and false means it does not.
okStatus flag for the request. A value of 1 means the call went through.

Notes

Pricing

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

Khám phá thêm

APIs liên quan

Tất cả APIs
APIGiáPhản hồi
Weibo$0.001 mỗi lần gọiJSON
Weibo$0.001 mỗi lần gọiJSON
Weibo$0.001 mỗi lần gọiJSON
Weibo$0.001 mỗi lần gọiJSON
Weibo$0.001 mỗi lần gọiJSON
Weibo$0.001 mỗi lần gọiJSON

Hướng dẫn:Best Weibo API in 2026: Pricing Compared

Câu hỏi

FAQ

Làm thế nào để dùng API Weibo Image Comment Permission Check?

Gửi yêu cầu POST đến https://api.sandbase.ai/v1/api/weibo/web-v2/check-allow-comment-with-pic với khóa API SandBase của bạn trong tiêu đề Authorization (Bearer) và các tham số trong phần thân JSON. Bạn cũng có thể thử trực tiếp trong Playground trên trang này mà không cần viết code.

API Weibo Image Comment Permission Check có giá bao nhiêu?

$0.001 mỗi lần gọi, được tính từ số dư SandBase của bạn. Bạn chỉ bị tính phí cho các lần gọi bạn thực hiện; không có gói đăng ký.

API Weibo Image Comment Permission Check chấp nhận những tham số nào?

Bắt buộc: id (string). Bảng Parameters và Playground trên trang này liệt kê mọi trường.

API Weibo Image Comment Permission Check trả về gì?

Phản hồi JSON được trả về trong cùng một yêu cầu HTTP (đồng bộ). README trên trang này có ví dụ phản hồi.

Tôi có cần tài khoản nhà phát triển hoặc API key của Weibo không?

Không. Weibo Image Comment Permission Check chạy thông qua SandBase, nên chỉ cần một API key SandBase là đủ cho endpoint này và mọi API cùng model khác trong danh mục. Bạn không cần đăng ký riêng để có quyền truy cập API của Weibo.