moments/post-moments
Description
- When sharing Moments, certain accounts (with unknown attributes) might experience functionality restrictions. Feel free to conduct your own tests!
Request URL
http://127.0.0.1:8888/api/
Request Method
Parameters
Parameter Name | Required | Parameter Type | Description |
---|
type | Yes | int | API ID |
objectDesc | Yes | string | Description of the Moments, in XML format |
bPrivate | No | bool | Indicates whether the Moments are private |
remindUserList | No | list | List of wxids to remind; this field is invalid when bPrivate is true |
shieldUserList | No | list | List of wxids to shield from viewing; this field is invalid when bPrivate is true or showUserList is set |
showUserList | No | list | List of wxids who can view; this field is invalid when bPrivate is true |
Request Example
{
"type": 4,
"objectDesc": "<TimelineObject>...</TimelineObject>"
}
xml详见:点击查看
Return Example
{
"data": {
"status": 0,
"desc": "",
}
}
Return Parameter Description
Parameter Name | Parameter Type | Description |
---|
error_code | int | Error code |
description | string | Error Description |
data | json | Business data |