小红心
请求URL:
http://域名/finderIdLike
请求方式:
- POST
请求头Headers:
- Content-Type:application/json
- Authorization:login接口返回
参数:
参数名 | 必选 | 类型 | 说明 |
---|---|---|---|
wId | 是 | String | 登录实例标识 |
id | 是 | bigint | 视频号作品id |
commentId | 是 | bigint | 评论的id |
nonceId | 是 | String | 视频号作品nonceId |
type | 是 | int | 视频操作 3喜欢 4不喜欢 评论操作 1喜欢 2不喜欢 |
sessionBuffer | 是 | String | 通过获取用户主页返回的sessionBuffer |
toUserName | 是 | String | 作者的username |
meUserName | 是 | String | 自己的用户编码(获取个人主页接口返回的userName) |
meRoleType | 是 | int | 自己的角色类型,根据角色关注(获取个人主页接口返回的roleType) |
请求参数示例
{
"wId": "{{wId}}",
"id": 14200825020179157073,
"commentId": 0,
"nonceId": "2000987984335065941_0_39_2_1_1719289344187698",
"type": 3,
"sessionBuffer": "eyJzZXNzaW9uX2lkIjoic2lkXzEzNDUxMDA3MDNfMTY5NDQ5MTA1MDk3NDcxMl8xMDkyODAzNzIwIiwiY3VyX2xpa2VfY291bnQiOjY2Mzc1MywiY3VyX2NvbW1lbnRfY291bnQiOjU1MjMsInJlY2FsbF90eXBlcyI6W10sImRlbGl2ZXJ5X3NjZW5lIjoyLCJkZWxpdmVyeV90aW1lIjoxNjk0NDkxMDUxLCJzZXRfY29uZGl0aW9uX2ZsYWciOjksInJlY2FsbF9pbmRleCI6W10sIm1lZGlhX3R5cGUiOjQsInZpZF9sZW4iOjYxLCJjcmVhdGVfdGltZSI6MTY5Mjg3MDI2MSwicmVjYWxsX2luZm8iOltdLCJzZWNyZXRlX2RhdGEiOiJCZ0FBVlwvMUhmdkVDM2s0QkdhMVJ1SXlYdGZQYVdYTzBGVVg4UHdnWHpHTVZrRnBBOHRBclJ0Q0MzVEFEZXVEUW1aOThRMUhiUVk1TitGWHFkRmYxQ1dwMXZPVThsMkhNK1E9PSIsImlkYyI6MSwiZGV2aWNlX3R5cGVfaWQiOjEzLCJkZXZpY2VfcGxhdGZ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xxxxxx@finder",
"meRoleType": "3"
}
成功返回示例
{
"code": "1000",
"message": "视频号小红心id成功",
"data": null
}
错误返回示例
{
"message": "失败",
"code": "1001",
"data": null
}
返回数据:
参数名 | 类型 | 说明 |
---|---|---|
code | String | 1000成功 1001失败 |
msg | String | 反馈信息 |
data | JSONObject |