微信分組群發45028,微信分組群發has no masssend quota hint
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
蕃薯耀 2016年5月18日 10:16:52 星期三
http://fanshuyao.iteye.com/
一、問題描述:
使用測試賬號微信分組群發返回45028錯誤,
has no masssend quota hint的意思是沒有群發的配額,也就是說沒有權限?
但官方文檔卻說有100次,真的很郁悶。
微信測試號沒有權限分組群發?我也不確定,但應該是這樣。

測試不了圖文群發,,可以玩分組群發文字,這個測試成功。
群發文字拼接Java方法:
private String getSendTextJsonToGroup(String groupId, String content){
StringBuffer sb = new StringBuffer("");
sb.append("{").
append("\"filter\":{").
append("\"is_to_all\":false").append(",").
append("\"group_id\":").append(groupId).
append("},").
append("\"text\":{").
append("\"content\":\"").append(content).append("\"").
append("},").
append("\"msgtype\":\"text\"").
append("}");
return sb.toString();
}
生成的json字符串如下:
{
"filter":{
"is_to_all":false,
"group_id":105
},
"text":{
"content":"內容2。內容2。內容2。內容2。內容2。內容2。內容2。內容2。內容2。內容2。"
},
"msgtype":"text"
}
返回的json結果:{"errcode":0,"errmsg":"send job submission success","msg_id":415492994}
微信顯示圖片:
二、解決方案
微信測試號分組群發圖文消息暫時沒有解決方案。
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
蕃薯耀 2016年5月18日 10:16:52 星期三
http://fanshuyao.iteye.com/
