moments/retrieve-user-moments
Description
- Retrieve the moments information of a specified user.
Request URL
http://127.0.0.1:8888/api/
Request Method
Parameters
Parameter Name | Required | Parameter Type | Description |
---|
type | Yes | int | API ID |
userName | Yes | string | User's wxid |
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": 20,
"userName": "wxid_xxxx",
"startObjectId": 22222222222
}
Return Example
{
"data": {
"status": 0,
"desc": "",
"data": []
}
}
Return Parameter Description
Parameter Name | Parameter Type | Description |
---|
error_code | int | Error code |
description | string | Error Description |
data | json | Business data |