moments/retrieve-moments
Description
Request URL
http://127.0.0.1:8888/api/
Request Method
Parameters
Parameter Name | Required | Parameter Type | Description |
---|
type | Yes | int | API ID |
startObjectId | No | int | Moments ID, specifies where to start fetching from |
When retrieving Moments information for the first time, there is no need to provide the 'startObjectId'. Subsequent requests, however, require the inclusion of the last Moments ID returned from the previous request.
Request Example
{
"type": 18,
"startObjectId": 222222222
}
Return Example
{
"data": {
"status": 0,
"desc": "",
"data": {
"count": 20, # 数量
"objects": [
{
"comments": [], # 评论列表
"createTime": 1711595759, #时间
"likes": [],
"nickName": "昵称", #好友昵称
"objectDesc": "这是一条xml文本,包含文本、图片、视频、链接等其他内容,你想要的信息都可以通过解析xml获得",
"objectId": 143579058794xxxxxx, # 该朋友圈id
"userName": "wxid_xxxxx" #好友微信唯一标识
}
]
}
}
Return Parameter Description
Parameter Name | Parameter Type | Description |
---|
error_code | int | Error code |
description | string | Error Description |
data | json | Business data |