official-account/retrieve-historical-posts
Description
- Access past messages from the Public Account.
Request URL
http://127.0.0.1:8888/api/
Request Method
Parameters
Parameter Name | Required | Parameter Type | Description |
---|
type | Yes | int | API ID |
bizUserName | Yes | string | Official account's WeChat ID |
offset | No | string | Specifies the starting point for fetching messages, obtained from the returned content |
Request Example
{
"type": 10039,
"bizUserName": "gh_ba6105d7c051",
"bizSessionID": 160000000
}
Return Example
{
"data": {
"status": 0,
"desc": "",
"data": "json串,包含标题、图标、链接、描述、阅读量、点赞量等"
}
}
Return Parameter Description
Parameter Name | Parameter Type | Description |
---|
error_code | int | Error code |
description | string | Error Description |
data | json | Business data |