Appearance
修改视频号资料
修改当前视频号的昵称、简介、头像、地区和性别等资料。
接口地址: POST /modFinderProfile
前置条件
- 当前
wId已完成登录,并且账号状态正常。 meUserName、meRoleType建议从个人主页接口返回值中读取。- 头像链接需要接口服务可访问,且符合微信视频号头像规范。
请求参数
| 参数名 | 必选 | 类型 | 说明 |
|---|---|---|---|
| wId | 是 | string | 登录实例标识 |
| meUserName | 是 | string | 自己的视频号用户编码 |
| meRoleType | 是 | int | 自己的视频号角色类型 |
| nickName | 是 | string | 视频号昵称 |
| signature | 是 | string | 视频号简介 |
| headImgUrl | 是 | string | 视频号头像链接 |
| country | 是 | string | 国家 |
| province | 是 | string | 省份 |
| city | 是 | string | 城市 |
| sex | 是 | int | 性别 |
请求示例
json
{
"wId": "{{wId}}",
"meUserName": "v2_060000231003b20faec8c6e18f10c7d6c903ec3db0776955d3d97c6b329d6aa58693bcdb7ad1@finder",
"meRoleType": 3,
"nickName": "Eyun 客户服务",
"signature": "视频号简介",
"headImgUrl": "https://cdn.eyunapp.com/avatar/finder-service.jpg",
"country": "CN",
"province": "Guangdong",
"city": "Guangzhou",
"sex": 2
}响应参数
| 参数名 | 类型 | 说明 |
|---|---|---|
| code | string | 1000 成功,1001 失败 |
| message | string | 反馈信息 |
| data | object / null | 修改成功时通常返回 null |
成功响应
json
{
"code": "1000",
"message": "视频号资料修改成功",
"data": null
}错误响应
json
{
"code": "1001",
"message": "失败",
"data": null
}使用建议
- 修改资料可能受微信侧频率限制,不建议高频反复提交。
- 昵称、头像和简介建议先在业务侧做合规校验。
- 如果只修改部分字段,也建议按接口要求传完整资料,避免未传字段被覆盖为空。
