Weibo User Posts API
A user's posts, with an optional detail level. Costs 1 credit per request.
POST/api/v1/weibo/user/posts
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/jsonuidstringrequiredNumeric user id.
Example: EX_UID
pageintegerResults page, 1-based. 1-500.
featureintegerDetail level, 0-3. 0-3.
since_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/user/posts", {"uid": "EX_UID"})
print(result)Response
"since_id": "5337728581372097kp2",
"total": 21143
},
"response_time": 1657
}