簡要描述:
轉發(fā)朋友圈,直接xml數(shù)據(jù)憨琳。(對誰不可見)
請求URL:
http://域名地址/forwardSns
請求方式:
POST
請求頭Headers:
Content-Type:application/json
Authorization:login接口返回
參數(shù):
參數(shù)名必選類型說明
wId是String登錄實例標識
content是String收到的xml
blackList否String對誰不可見(傳微信id,多個用,分隔)
withUserList否String對誰可見 (傳微信id,多個用,分隔)
請求參數(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":[]}}
錯誤返回示例
{"message":"失敗","code":"1001","data":null}
返回數(shù)據(jù):
參數(shù)名類型說明
codestring1000成功傻寂,1001失敗
msgString反饋信息
idString朋友圈ID
userNameString微信id
createTimeString時間
objectDescJSONObject朋友圈內容
xmlString朋友圈xml
lenintxml 長度
commentIdint評論標識replyCommentId
replyCommentIdint回復評論標識
deleteFlagint刪除標識
isNotRichTextint是否試富文本
contentString評論內容
commentIdint評論ID
snsLikesJSONArray點贊用戶列表
userNameString微信id
nickNameString昵稱
typeint點贊類型
createTimeint點贊時間