收藏
回答

公众号新增永久图文素材插入小程序接口报错,是不支持小程序插入吗?

接口:https://api.weixin.qq.com/cgi-bin/material/add_news?access_token=ACCESS_TOKEN

POST 数据:

{

"articles": [{

"title": "3个动作,测测你的腰好不好!快来试一试",

"author": "",

"digest": "content",

"content": "http://mmbiz.qpic.cn/mmbiz_png/F6KXl8icryibVrnP3RCQ3EFLicvB1UN1b3GRohnOTll7v21G7wWqqKZiatFzFbkU6uBJpaEaNvib2CGvJYPqQESl0cw/640?wx_fmt=png&;wxfrom=200\" data-miniprogram-title=\"测试标题\" data-miniprogram-imageurl=\"http://mmbiz.qpic.cn/sz_mmbiz_jpg/gfUSdYMmdaMupKalGU0s1tokw504fsRttJ1r1hrlrVJ7CibEAoTznltLkmv66JnOw5Re9Vpnianhe2EfL24pZJQQ/0?wx_fmt=jpeg\" data-miniprogram-type=\"card\" data-miniprogram-servicetype=\"0\">",

"content_source_url": "",

"thumb_media_id": "OV5NLTWARYi0G1oSc7sb2M08YsBmw0bC0zkz4qr_sRI",

"show_cover_pic": 0,

"url": "http://mp.weixin.qq.com/s?__biz=MzI3MzQyMDQ0OA==&mid=100032001&idx=1&sn=e146f9a64394201e2fbd10a5fee8fe75&chksm=6b2167ce5c56eed8159985d9387787123d431aa0940cc3b7d1a6841760d5ff5932adee5564b2#rd",

"thumb_url": "http://mmbiz.qpic.cn/sz_mmbiz_png/gfUSdYMmdaMupKalGU0s1tokw504fsRtLznYEKPaaWaSePlUTLNqByv9xcLLNzogaVwibDsXtUIyiboP7Gfrcdrg/0?wx_fmt=png",

"need_open_comment": 1,

"only_fans_can_comment": 1

}

]

}

接口返回:

{

"errcode": 45166,

"errmsg": "invalid content hint: [e_TPya04460043] rid: 5f546cfe-349fe462-67ac95b3"

}

最后一次编辑于  09-06
回答关注问题邀请回答
收藏
登录 后发表内容
问题标签