Weibo Recommend Timeline API
The recommended home timeline. Costs 1 credit per request.
POST/api/v1/weibo/user/recommend-timeline
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/jsonrefreshintegerSet to pull a fresh slice of the timeline rather than the cached one.
group_idstringTimeline group id, taken from an earlier response.
containeridstringWeibo container id, taken from an earlier response.
extparamstringOpaque extra parameter passed through to Weibo, taken from an earlier response.
max_idstringPagination cursor from a previous response. Omit for the first page.
countintegerItems to return per page. 1-50.
Request
from scavio import ScavioClient
client = ScavioClient(api_key="sk_live_your_key")
result = client.weibo.request("/api/v1/weibo/user/recommend-timeline", {})
print(result)Response
"max_id": "1"
},
"response_time": 2074
}