2 hhr1004 hhr1004 于 2016.03.21 11:06 提问

java微信上传永久图文消息返回40007

String peram = "{\"articles\": [{\"thumb_media_id\":\"qI6_Ze_6PtV7svjolgs-rN6stStuHIjs9_DidOHaj0Q-mwvBelOXCFZiq2OsIU-p\",\"author\":\"xxx\",\"title\":\"Happy Day\",\"content_source_url\":\"www.qq.com\",\"content\":\"content\",\"digest\":\"digest\",\"show_cover_pic\":1},{\"thumb_media_id\":\"qI6_Ze_6PtV7svjolgs-rN6stStuHIjs9_DidOHaj0Q-mwvBelOXCFZiq2OsIU-p\",\"author\":\"xxx\",\"title\":\"Happy Day\",\"content_source_url\":\"www.qq.com\",\"content\":\"content\",\"digest\":\"digest\",\"show_cover_pic\":0}]}";

WebClient webclient = new WebClient();
String data = webclient.getWebContentByPost(url,peram);

数据是微信的事例数据,同样显示40007
自己上传的永久图片的thumb_media_id同样也报40007

1个回答

w995223851
w995223851   2016.05.19 14:29

微信上传图文出现40007,invalid media_id hint解决方案:

http://fanshuyao.iteye.com/blog/2299190

http://blog.sina.com.cn/s/blog_6ebc885a0102wjan.html

Csdn user default icon
上传中...
上传图片
插入图片
准确详细的回答,更有利于被提问者采纳,从而获得C币。复制、灌水、广告等回答会被删除,是时候展现真正的技术了!