- 开发指南
- 基础API
- 登录模块
- 联系人模块
- 群模块
- 消息模块
- 朋友圈模块
- 标签模块
- 个人模块
- 收藏夹模块
- 视频号模块
- 账号管理
- 更多信息
发送视频朋友圈
POST
/gewe/v2/api/sns/sendVideoSns
请求参数
Header 参数
X-GEWE-TOKEN
string
必需
示例值:
{{gewe-token}}
Body 参数application/json
appId
string
设备ID
allowWxIds
array[string]
允许谁看
atWxIds
array[string]
提醒谁看
disableWxIds
array[string]
不给谁看
privacy
boolean
是否私密
默认值:
false
content
string
朋友圈文字内容
videoInfo
object
必需
fileUrl
string
必需
thumbUrl
string
必需
fileMd5
string
必需
length
number
可选
allowTagIds
array[string]
可选
disableTagIds
array[string]
可选
示例
{
"appId": "{{appid}}",
"allowWxIds": [],
"atWxIds": [],
"disableWxIds": [],
"content": "in",
"videoInfo": {
"fileUrl": "http://szzjwxsns.video.qq.com/102/20202/snsvideodownload?filekey=30340201010420301e0201660402535a04106e95f9d79588843ac259b780f0cbf20f020314148b040d00000004627466730000000132&hy=SZ&storeid=5658e7541000080a98399cc840000006600004eea535a236b0181565ff0c9a&dotrans=9&ef=30_0&ut=6xykWLEnztInqJIccsNnmJnFIIMYTDicqsNxakAGmcmW1hOicyiayN6Cw&ui=1&bizid=1023&ilogo=2&dur=7&upid=500030",
"thumbUrl": "http://vweixinthumb.tc.qq.com/150/20250/snsvideodownload?filekey=30340201010420301e020200960402535a0410704de7ebbc107a51a4f0986253a6d3b602020448040d00000004627466730000000132&hy=SZ&storeid=5658e7541000065838399cc840000009600004f1a535a236cc15156605b59d&bizid=1023",
"fileMd5": "6e95f9d79588843ac259b780f0cbf20f",
"length": 1315979
},
"privacy": false,
"allowTagIds": [],
"disableTagIds": []
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'http://api.geweapi.com/gewe/v2/api/sns/sendVideoSns' \
--header 'X-GEWE-TOKEN: ' \
--header 'Content-Type: application/json' \
--data-raw '{
"appId": "",
"allowWxIds": [],
"atWxIds": [],
"disableWxIds": [],
"content": "in",
"videoInfo": {
"fileUrl": "http://szzjwxsns.video.qq.com/102/20202/snsvideodownload?filekey=30340201010420301e0201660402535a04106e95f9d79588843ac259b780f0cbf20f020314148b040d00000004627466730000000132&hy=SZ&storeid=5658e7541000080a98399cc840000006600004eea535a236b0181565ff0c9a&dotrans=9&ef=30_0&ut=6xykWLEnztInqJIccsNnmJnFIIMYTDicqsNxakAGmcmW1hOicyiayN6Cw&ui=1&bizid=1023&ilogo=2&dur=7&upid=500030",
"thumbUrl": "http://vweixinthumb.tc.qq.com/150/20250/snsvideodownload?filekey=30340201010420301e020200960402535a0410704de7ebbc107a51a4f0986253a6d3b602020448040d00000004627466730000000132&hy=SZ&storeid=5658e7541000065838399cc840000009600004f1a535a236cc15156605b59d&bizid=1023",
"fileMd5": "6e95f9d79588843ac259b780f0cbf20f",
"length": 1315979
},
"privacy": false,
"allowTagIds": [],
"disableTagIds": []
}'
返回响应
🟢200成功
application/json
Body
ret
integer
必需
msg
string
必需
data
object
必需
id
integer
朋友圈ID
userName
string
必需
nickName
string
朋友圈作者的昵称
createTime
integer
发布时间
示例
{
"ret": 200,
"msg": "操作成功",
"data": {
"id": 14292804021433274000,
"userName": "zhangchuan2288",
"nickName": "朝夕。",
"createTime": 1703835013
}
}
修改于 2025-03-10 07:06:46