The interface call of permanent video material has been added to the WeChat public account, which is not available after uploading

在 Postman 中,请求头:form-data。2 个请求体参数:description,格式为 Text;media,格式为 File
1. Reference URL: https://developers.weixin.qq.com/doc/offaccount/asset_management/adding_permanent_assets.html . as shown in Figure 1
参考网址:https://developers.weixin.qq.com/doc/offiaccount/Asset_Management/Adding_Permanent_Assets.html
Figure 1
2. In Postman, the request header: form-data. 2 request body parameters: description, format is text; media, format is file. as shown in Figure 2
在 Postman 中,请求头:form-data。2 个请求体参数:description,格式为 Text;media,格式为 File
Figure 2


description={"title":"VIDEO_TITLE","introduction":"INTRODUCTION"}
media=@h264_2000k_mp4.mp4




{
    "media_id": "1gCdtqCQ5Mv0ziRAQov85-VxHX7WpDjRmHnCdmX2RBE",
    "item": []
}


3. When the request body parameter is canceled: description, the response fails. as shown in Figure 3
当取消请求体参数:description 后,响应失败。
Figure 3


{
    "errcode": 41005,
    "errmsg": "media data missing hint: [bhDfBa0363d418] rid: 60e6c4a6-64b78b4a-5be3301c"
}


4. Enter the official website material management module of the public platform and view the video list. There is a corresponding material: video_title. However, after a day, it still has not been approved. A total of 3 videos in a row are uploaded in a row, all of which are the same. as shown in Figure 4
进入公众平台官网素材管理模块中,查看视频列表。存在对应的素材:VIDEO_TITLE。但是,在一天之后,仍然未审核通过。连续上传了总计 3 个视频,皆是如此。
Figure 4
5. The same video file is uploaded through the official website, but it can be reviewed and approved in a short period of time. as shown in Figure 5
同样的视频文件,通过官网上传,却是能够在短时间内审核通过。
Figure 5
6. Call interface: get the list of video materials. In the response, there are 3 videos uploaded through the interface, and there is no field: VID. as shown in Figure 6
调用接口:获取视频素材列表。响应中,通过接口上传的 3 个视频,不存在字段:vid。
Figure 6
7. Search for relevant questions and replies in the WeChat Open Community. Website: https://developers.weixin.qq.com/community/minihome/doc/0000acea168dc82664ba9d86d52000 . Hello, in the current material management interface, the upload of video materials has not been submitted for review, and the display status of the material management list in the background of the WeChat public platform will be abnormal and cannot be used for general scenes such as mass sending. If there is a need for video uploading and use, it is recommended to upload video directly through the background of the WeChat public platform. Related guidelines for uploading videos on the public account can be viewed: https://support.qq.com/products/66522/FAQs/54079  

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.