- 开发说明
- 项目案例(部分)
- 开发API
- 登录模块
- 联系人相关接口
- 群管理接口
- 消息模块
- 朋友圈模块
- 标签模块
- 个人模块
- 收藏夹模块
- 视频号模块
发送文字朋友圈
POST
/sns/sendTextSns
基础API/朋友圈模块
请求参数
Header 参数
VideosApi-token
string
必需
示例值:
{{VideosApi-token}}
Body 参数application/json
appId
string
设备ID
allowWxIds
array[string]
允许谁看
atWxIds
array[string]
提醒谁看
disableWxIds
array[string]
不给谁看
privacy
boolean
是否私密
默认值:
false
content
string
朋友圈文字内容
示例
{
"appId": "{{appid}}",
"useProxy": true,
"allowWxIds": [],
"atWxIds": [],
"disableWxIds": [],
"content": "test",
"privacy": false
}
示例代码
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.videosapi.com/finder/v2/api/sns/sendTextSns' \
--header 'VideosApi-token: ' \
--header 'Content-Type: application/json' \
--data-raw '{
"appId": "{{appid}}",
"useProxy":true,
"allowWxIds": [],
"atWxIds": [],
"disableWxIds": [],
"content": "test",
"privacy": false
}'
返回响应
🟢200成功
application/json
Body
ret
integer
必需
msg
string
必需
data
object
必需
id
integer
朋友圈ID
userName
string
必需
nickName
string
朋友圈作者的昵称
createTime
integer
发布时间
示例
{
"ret": 200,
"msg": "操作成功",
"data": {
"id": 14287800629617234000,
"userName": "VideosAPi",
"nickName": "VideosAPi",
"createTime": 1703238562
}
}

产品可行性及API相关问题咨询

