<xml><ToUserName><![CDATA[gh_750590d285cd]]></ToUserName>
<FromUserName><![CDATA[opB_hsmN3FLjOj3xKvYyjI5RO_2M]]></FromUserName><CreateTime>1414641052</CreateTime>
<MsgType><![CDATA[music]]></MsgType
><Music><Title><![CDATA[yesterday]]></Title>
<Description><![CDATA[yesterday]]></Description>
<MusicUrl><![CDATA[http://music.baidu.com//song//7499484]]></MusicUrl>
<HQMusicUrl><![CDATA[http://music.baidu.com//song//7499484]]></HQMusicUrl>
<ThumbMediaId>
<![CDATA[5w1T9dVlfIu66U7qhYC9APml24rwQNcjzFM1acdrh02omZ0Sev4skQr76S98k0Uk]]>
</ThumbMediaId>
</Music></xml>
这样发送有误么
<FromUserName><![CDATA[opB_hsmN3FLjOj3xKvYyjI5RO_2M]]></FromUserName><CreateTime>1414641052</CreateTime>
<MsgType><![CDATA[music]]></MsgType
><Music><Title><![CDATA[yesterday]]></Title>
<Description><![CDATA[yesterday]]></Description>
<MusicUrl><![CDATA[http://music.baidu.com//song//7499484]]></MusicUrl>
<HQMusicUrl><![CDATA[http://music.baidu.com//song//7499484]]></HQMusicUrl>
<ThumbMediaId>
<![CDATA[5w1T9dVlfIu66U7qhYC9APml24rwQNcjzFM1acdrh02omZ0Sev4skQr76S98k0Uk]]>
</ThumbMediaId>
</Music></xml>
这样发送有误么
解决方案
40
公众账号给用户回复音乐消息,你把ToUserName和FromUserName写反了。
公众账号是发送方,FromUserName应该是原始ID:gh_750590d285cd