多应用+插件架构,代码干净,二开方便,首家独创一键云编译技术,文档视频完善,免费商用码云13.8K 广告
# 朋友圈互动模块 ## **Web端交互** > ***** ![(images/screenshot_1567145572362.png)](https://img.kancloud.cn/b6/9b/b69bd69c64c59f81f292705ef7d4f4c5_1092x790.png) ## **API相关文档** > ***** - API infomation 接口描述 | **获取当前微信号的朋友圈** ---|--- URL | /wechat_api/sns/getSelfSns 请求方式 | get 请求参数 | ?uin=2123131667&&userName=wxid\_lbejkr1i6jl922&&firstPageMd5=dsfdsdsfdf - params infomation | Sort | Param | Type | required | Description | | --- | --- | --- | --- | --- | | 请求参数 | uin| String | Y | uin | 请求参数 | username| Long | Y |微信号wxid | 请求参数 | firstPageMd5| String | Y | 第一次获取朋友圈返回来的MD5加密参数,第一次获取传 “” - response example ``` { "msg":"获取朋友圈请求成功!", "code":200 } ``` > ***** 接口描述 | **获取某个好友的朋友圈** ---|--- URL | /wechat_api/sns/getFriendSns? 请求方式 | get 请求参数 | uin=2123131667&friendUserName=wxid\_lbejkr1i6jl922&firstPageMd5= - params infomation | Sort | Param | Type | required | Description | | --- | --- | --- | --- | --- | | 请求参数 | uin| String | Y | uin | 请求参数 | username| Long | Y |微信号wxid | 请求参数 | firstPageMd5| String | Y | 第一次获取朋友圈返回来的MD5加密参数,第一次获取传 “” - response example ``` { "msg":"获取其他人朋友圈请求成功!", "code":200 } ``` > ***** 接口描述 | **获取朋友圈的详细内容** ---|--- URL | /wechat_api/sns/getSnsDetail 请求方式 | get 请求参数 |{uin:"string", snsId:"string"} 返回值 |{msg: "获取成功", code: 200} - 参数说明 | Sort | Param | Type | required | Description | | --- | --- | --- | --- | --- | | 请求参数 | uin| String | Y | uin | 请求参数 | snsId| String | Y | 朋友圈ID > ***** 接口描述 | **点赞朋友圈** ---|--- URL | /wechat\_api/sns/comment 请求方式 | post 请求参数 | comment: "" replyId: 0 snsId: "-5300490415765573437" toUserName: "wxid_frkmjq8viv8k22" uin: "663329897" userName: "wxid_oo8w553uj5g612" 返回值 | {"code":200,"msg":"发布朋友评论圈请求成功!","data":null} | Sort | Param | Type | required | Description | | --- | --- | --- | --- | --- | | 请求参数 | comment| String | Y | 评论内容 | 请求参数 | snsId| String | Y | 朋友圈ID | 请求参数 | uin| String | Y | uin | 请求参数 | replyId| String | Y | 评论ID | 请求参数 | toUserName| String | Y | 对方username | 请求参数 | userName| String | Y | 微信号username > ***** 接口描述 | **转发朋友圈** ---|--- URL | /wechat\_api/sns/publish 请求方式 | get 请求参数 | cmdId: 1567159284327 content: {,…} currentLoginer: 33726 delayType: 1 pushType: 0 recId: "" type: 2 uin: "663329897" userName: "wxid_oo8w553uj5g612" 返回值 | {"code":200,"msg":"发布朋友圈请求成功!","data":null} | Sort | Param | Type | required | Description | | --- | --- | --- | --- | --- | | 请求参数 | uin| String | Y | uin | 请求参数 | username| Long | Y |微信号的Username | 请求参数 | recId| String | Y | 记录ID | 请求参数 | pushType| String | Y | 发送类型(0 立即发送 1 自定义时间 2 推荐时间) | 请求参数 | delayType| String | Y | 延迟类型(0 统一延时 1 随机) | 请求参数 | comment| String | Y | 评论内容 | 请求参数 | currentLoginer| String | Y | 评论ID | 请求参数 | cmdId| String | Y | 指令ID