簡(jiǎn)要描述:
轉(zhuǎn)發(fā)朋友圈,直接xml數(shù)據(jù)。(對(duì)誰(shuí)不可見(jiàn))
請(qǐng)求URL:
http://域名地址/forwardSns
請(qǐng)求方式:
POST
請(qǐng)求頭Headers:
Content-Type:application/json
Authorization:login接口返回
參數(shù):
參數(shù)名必選類型說(shuō)明
wId是String登錄實(shí)例標(biāo)識(shí)
content是String收到的xml
blackList否String對(duì)誰(shuí)不可見(jiàn)(傳微信id,多個(gè)用,分隔)
withUserList否String對(duì)誰(shuí)可見(jiàn) (傳微信id,多個(gè)用,分隔)
請(qǐng)求參數(shù)示例
{"wId":"xxxxxxx","content":"xxxxxxx"}
成功返回示例
{"message":"成功","code":"1000","data":{"id":"xxxxxxx","userName":"xxxxxxx","nickName":"xxxxxxx","createTime":xxxxxxx,"objectDesc":{"xml":"xxxxxxx","len":xxxxxxx},"likeCount":xxxxxxx,"snsLikes":[],"commentCount":xxxxxxx,"snsComments":[]}}
錯(cuò)誤返回示例
{"message":"失敗","code":"1001","data":null}
返回?cái)?shù)據(jù):
參數(shù)名類型說(shuō)明
codestring1000成功洲守,1001失敗
msgString反饋信息
idString朋友圈ID
userNameString微信id
createTimeString時(shí)間
objectDescJSONObject朋友圈內(nèi)容
xmlString朋友圈xml
lenintxml 長(zhǎng)度
commentIdint評(píng)論標(biāo)識(shí)replyCommentId
replyCommentIdint回復(fù)評(píng)論標(biāo)識(shí)
deleteFlagint刪除標(biāo)識(shí)
isNotRichTextint是否試富文本
contentString評(píng)論內(nèi)容
commentIdint評(píng)論ID
snsLikesJSONArray點(diǎn)贊用戶列表
userNameString微信id
nickNameString昵稱
typeint點(diǎn)贊類型
createTimeint點(diǎn)贊時(shí)間