抖音
抖音用户点赞 API
获取用户公开点赞的视频。每次请求消耗 1 积分。
POST/api/v1/douyin/user/likes
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/jsonsec_user_idstringrequired用户的 sec_user_id,即抖音内部使用的稳定 id。
max_cursorstring上一次响应返回的分页游标 (cursor)
countinteger每页返回的条数,1-50。
Request
from scavio import ScavioClient
client = ScavioClient(api_key="sk_live_your_key")
result = client.douyin.request("/api/v1/douyin/user/likes", {"sec_user_id": "..."})
print(result)Response
"videos": [],
"max_cursor": null,
"has_more": false
},
"response_time": 809
}