Weibo Post Comments API
Top-level comments on a post. Costs 1 credit per request.
POST/api/v1/weibo/post/comments
Authorizations
AuthorizationstringheaderrequiredBearer authentication header of the form Bearer <token>, where <token> is your Scavio API key (e.g. Bearer sk_live_your_key).
Body
application/jsonidstringrequiredPost id
Example: EX_POST
countintegerItems to return per page. 1-50.
max_idstringPagination cursor from a previous response
Request
from scavio import ScavioClient
client = ScavioClient(api_key="sk_live_your_key")
result = client.weibo.request("/api/v1/weibo/post/comments", {"id": "EX_POST"})
print(result)Response
"max_id": "139291743469237",
"total": 747
},
"response_time": 1437
}