- 开发指南
- 基础API
- 登录模块
- 联系人模块
- 群模块
- 消息模块
- 朋友圈模块
- 标签模块
- 个人模块
- 收藏夹模块
- 视频号模块
- 账号管理
- 更多信息
联系人的朋友圈列表
POST
/gewe/v2/api/sns/contactsSnsList
请求参数
Header 参数
X-GEWE-TOKEN
string
必需
示例值:
{{gewe-token}}
Body 参数application/json
appId
string
设备ID
maxId
number
可选
decrypt
boolean
是否解密
默认值:
true
wxid
string
好友wxid
firstPageMd5
string
可选
示例
{
"appId": "{{appid}}",
"maxId": 0,
"decrypt": true,
"wxid": "zhangchuan2288",
"firstPageMd5": ""
}
示例代码
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/contactsSnsList' \
--header 'X-GEWE-TOKEN: ' \
--header 'Content-Type: application/json' \
--data-raw '{
"appId": "",
"maxId": 0,
"decrypt": true,
"wxid": "zhangchuan2288",
"firstPageMd5": ""
}'
返回响应
🟢200成功
application/json
Body
ret
integer
必需
msg
string
必需
data
object
必需
firstPageMd5
string
翻页key
maxId
integer
必需
snsCount
integer
条数
requestTime
integer
请求时间
snsList
array [object {11}]
必需
示例
{ "ret": 200, "msg": "操作成功", "data": { "firstPageMd5": "5b6cd464e80df435", "maxId": 14020472144428994892, "snsCount": 10, "requestTime": 1703833537, "snsList": [ { "id": 14214000407987819068, "userName": "zhangchuan2288", "nickName": "朝夕。", "createTime": 1694440890, "snsXml": "<TimelineObject><id>14214000407987819068</id><username>zhangchuan2288</username><createTime>1694440890</createTime><contentDesc>搁置了一个月的战车,出门蹬一会被撞了,忘了躺地上,错失一个换车的机会。[苦涩][苦涩]</contentDesc><contentDescShowType>0</contentDescShowType><contentDescScene>3</contentDescScene><private>0</private><sightFolded>0</sightFolded><showFlag>0</showFlag><appInfo><id></id><version></version><appName></appName><installUrl></installUrl><fromUrl></fromUrl><isForceUpdate>0</isForceUpdate><isHidden>0</isHidden></appInfo><sourceUserName></sourceUserName><sourceNickName></sourceNickName><statisticsData></statisticsData><statExtStr></statExtStr><ContentObject><contentStyle>1</contentStyle><title></title><description></description><mediaList><media><id>14214000408859710018</id><type>2</type><title></title><description>搁置了一个月的战车,出门蹬一会被撞了,忘了躺地上,错失一个换车的机会。[苦涩][苦涩]</description><private>0</private><userData></userData><subType>0</subType><videoSize width=\"1080\" height=\"1920\"></videoSize><url type=\"1\" md5=\"a9a21ec7afe3a51e1635cd4844de29bb\" videomd5=\"\">http://shmmsns.qpic.cn/mmsns/FzeKA69P5uIdqPfQxp59LpevPpX0bJz1zbXSpiavc01kia9H4cic0dJbHbUEJDibB8jx2oXfnBuKhgg/0</url><thumb type=\"1\">http://shmmsns.qpic.cn/mmsns/FzeKA69P5uIdqPfQxp59LpevPpX0bJz1zbXSpiavc01kia9H4cic0dJbHbUEJDibB8jx2oXfnBuKhgg/150</thumb><size width=\"1080.000000\" height=\"1920.000000\" totalSize=\"223727\"></size></media></mediaList><contentUrl></contentUrl></ContentObject><actionInfo><appMsg><messageAction></messageAction></appMsg></actionInfo><location poiClassifyId=\"\" poiName=\"\" poiAddress=\"\" poiClassifyType=\"0\" city=\"\"></location><publicUserName></publicUserName><streamvideo><streamvideourl></streamvideourl><streamvideothumburl></streamvideothumburl><streamvideoweburl></streamvideoweburl></streamvideo></TimelineObject>", "likeCount": 4, "likeList": [ { "userName": "wxid_fym4i76rk40x12", "nickName": "糖果", "source": 0, "type": 1, "createTime": 1694440920 }, { "userName": "wxid_bhf0vdaei64u21", "nickName": "挽风~", "source": 0, "type": 1, "createTime": 1694441103 }, { "userName": "wxid_jcllrz90yht022", "nickName": "^^辻弌^^", "source": 0, "type": 1, "createTime": 1694441218 }, { "userName": "wxid_5hafab2a85yk12", "nickName": "丶zoū zoú zoǔ zoù 👾", "source": 0, "type": 1, "createTime": 1694455325 } ], "commentCount": 19, "commentList": [ { "userName": "wxid_6xi2yuy30id422", "nickName": "ME", "source": 0, "type": 2, "content": "去医院验伤 索赔", "createTime": 1694441070, "commentId": 1, "replyCommentId": 0, "isNotRichText": 1 }, { "userName": "wxid_7538985368812", "nickName": "故事的小黄花", "source": 0, "type": 2, "content": "懂车帝没下载好?", "createTime": 1694441111, "commentId": 33, "replyCommentId": 0, "isNotRichText": 1 }, { "userName": "zhangchuan2288", "nickName": "朝夕。", "source": 0, "type": 2, "content": "来不及了,赔了点钱就让走了[捂脸]", "createTime": 1694441270, "commentId": 65, "replyCommentId": 1, "isNotRichText": 1 }, { "userName": "wxid_bhf0vdaei64u21", "nickName": "挽风~", "source": 0, "type":
修改于 2024-04-17 08:06:29