点赞评论
POST
/sns/SendSnsComment
朋友圈
请求参数
Query 参数
key
string
账号唯一标识
Body 参数application/json
SnsCommentList
array[object (SnsCommentItem) {7}]
可选
Content
string
评论内容
示例值:
CreateTime
integer <uint32>
创建时间
ItemID
string
朋友圈项ID
示例值:
OpType
integer <uint32>
可选
ReplyCommentID
integer <uint32>
回复的评论ID
ReplyItem
object (ReplyCommentItem)
可选
ToUserName
string
好友微信ID
示例值:
Tx
boolean
可选
示例
{
"SnsCommentList": [
{
"Content": "",
"CreateTime": 0,
"ItemID": "",
"OpType": 0,
"ReplyCommentID": 0,
"ReplyItem": {
"NickName": "",
"OpType": 0,
"Source": 0,
"UserName": ""
},
"ToUserName": ""
}
],
"Tx": true
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST '/sns/SendSnsComment' \
--header 'Content-Type: application/json' \
--data-raw '{
"SnsCommentList": [
{
"Content": "",
"CreateTime": 0,
"ItemID": "",
"OpType": 0,
"ReplyCommentID": 0,
"ReplyItem": {
"NickName": "",
"OpType": 0,
"Source": 0,
"UserName": ""
},
"ToUserName": ""
}
],
"Tx": true
}'
返回响应
🟢200成功
application/json
Body
object {0}
示例
{}