微信 - 无法发送超过 1 个富媒体消息
Wechat - unable to send rich media messages more than 1
我点击以下请求显示 2 篇文章,但 api 给出了错误代码 - 45008。尽管如此,它正在处理 1 篇文章
https://api.weixin.qq.com/cgi-bin/message/custom/send?access_token='My_Token'
方法:POST
正文:
{
"touser": "OPENID",
"msgtype": "news",
"news": {
"articles": [
{
"title": "Happy Day",
"description": "Is Really A Happy Day"
},
{
"title": "Happy",
"description": "Is goof"
}
]
}
}
错误:
{
"errcode": 45008,
"errmsg": "article size out of limit hint: [1kiZGA01844123]"
}
根据中文文档,您似乎不能再发送超过 1 篇文章。
图文消息条数限制在1条以内,注意,如果图文数超过1,则将会返回错误码45008 (Google Translate: The number of text messages is limited to one. Note that if the number of pictures exceeds 1, the error code 45008 will be returned.)
https://mp.weixin.qq.com/wiki?t=resource/res_main&id=mp1421140547
很遗憾,英文文档似乎尚未更新以反映此更改。
想知道是否有人找到了可以类似地使用的解决方法/新消息类型?
我点击以下请求显示 2 篇文章,但 api 给出了错误代码 - 45008。尽管如此,它正在处理 1 篇文章
https://api.weixin.qq.com/cgi-bin/message/custom/send?access_token='My_Token' 方法:POST 正文:
{
"touser": "OPENID",
"msgtype": "news",
"news": {
"articles": [
{
"title": "Happy Day",
"description": "Is Really A Happy Day"
},
{
"title": "Happy",
"description": "Is goof"
}
]
}
}
错误:
{
"errcode": 45008,
"errmsg": "article size out of limit hint: [1kiZGA01844123]"
}
根据中文文档,您似乎不能再发送超过 1 篇文章。
图文消息条数限制在1条以内,注意,如果图文数超过1,则将会返回错误码45008 (Google Translate: The number of text messages is limited to one. Note that if the number of pictures exceeds 1, the error code 45008 will be returned.)
https://mp.weixin.qq.com/wiki?t=resource/res_main&id=mp1421140547
很遗憾,英文文档似乎尚未更新以反映此更改。
想知道是否有人找到了可以类似地使用的解决方法/新消息类型?