转发朋友圈
POST
/gewe/v2/api/sns/forwardSns在新设备登录后的1-3天内,您将无法使用朋友圈发布、点赞、评论等功能。在此期间,如果尝试进行这些操作,您将收到来自微信团队的提醒。请注意遵守相关规定。
请求参数
Header 参数
X-GEWE-TOKEN
string
必需
示例值:
{{gewe-token}}
Body 参数application/json
appId
string | null
设备ID
allowWxIds
array[string]
允许谁看
atWxIds
array[string]
提醒谁看
disableWxIds
array[string]
不给谁看
privacy
boolean | null
是否私密
默认值:
false
snsXml
string
朋友圈xml
示例
{
"appId": "{{appid}}",
"allowWxIds": [],
"atWxIds": [],
"disableWxIds": [],
"snsXml": "<TimelineObject><id><![CDATA[14287710809635828232]]></id><username><![CDATA[wxid_g66c3f6y1eg922]]></username><createTime><![CDATA[1703227855]]></createTime><contentDescShowType>0</contentDescShowType><contentDescScene>0</contentDescScene><private><![CDATA[0]]></private><contentDesc></contentDesc><contentattr><![CDATA[0]]></contentattr><sourceUserName><![CDATA[]]></sourceUserName><sourceNickName><![CDATA[狮子领域 程序圈]]></sourceNickName><statisticsData></statisticsData><weappInfo><appUserName></appUserName><pagePath></pagePath><version><![CDATA[0]]></version><isHidden>0</isHidden><debugMode><![CDATA[0]]></debugMode><shareActionId></shareActionId><isGame><![CDATA[0]]></isGame><messageExtraData></messageExtraData><subType><![CDATA[0]]></subType><preloadResources></preloadResources></weappInfo><canvasInfoXml></canvasInfoXml><ContentObject><contentStyle><![CDATA[3]]></contentStyle><contentSubStyle><![CDATA[0]]></contentSubStyle><title><![CDATA[RuoYi-Vue-Plus 发布 5.1.2 版本 2023 最后一版]]></title><description><![CDATA[ ]]></description><contentUrl><![CDATA[http://mp.weixin.qq.com/s?__biz=Mzg4MDYyMzQ5OQ==&mid=2247488653&idx=1&sn=4adf3b791d46d25a117368acea19bd30&chksm=cf733e69f804b77f1fc08a994c41fb76ea933200b7cd484fa8b4fee8b810b1dd78a340c4cb83&mpshare=1&scene=2&srcid=1222KNQu96XLoOwcMuphqc5q&sharer_shareinfo=9689a1855d235961b3bc8f49f788da34&sharer_shareinfo_first=9689a1855d235961b3bc8f49f788da34#rd]]></contentUrl><mediaList><media><id><![CDATA[14287710810308162053]]></id><type><![CDATA[2]]></type><title></title><description></description><private><![CDATA[0]]></private><url type=\"1\"><![CDATA[http://shmmsns.qpic.cn/mmsns/C5Hh7IZThT42LQAraZkUG3bIHHicRLQeuzibCs1FqoIw0KSaQus3BleoNwvSSRcKnd200SBRM0cks/0]]></url><thumb type=\"1\"><![CDATA[http://shmmsns.qpic.cn/mmsns/C5Hh7IZThT42LQAraZkUG3bIHHicRLQeuzibCs1FqoIw0KSaQus3BleoNwvSSRcKnd200SBRM0cks/150]]></thumb><videoDuration><![CDATA[0.0]]></videoDuration><size totalSize=\"3636.0\" width=\"150.0\" height=\"150.0\"></size></media></mediaList><mmreadershare><itemshowtype>0</itemshowtype><ispaysubscribe>0</ispaysubscribe></mmreadershare></ContentObject><actionInfo><appMsg><mediaTagName></mediaTagName><messageExt></messageExt><messageAction></messageAction></appMsg></actionInfo><statExtStr></statExtStr><appInfo><id></id></appInfo><location poiClassifyId=\"\" poiName=\"\" poiAddress=\"\" poiClassifyType=\"0\" city=\"\"></location><publicUserName>gh_23471f7470c1</publicUserName><streamvideo><streamvideourl></streamvideourl><streamvideothumburl></streamvideothumburl><streamvideoweburl></streamvideoweburl></streamvideo></TimelineObject>",
"privacy": false
}
示例代码
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
ret
integer
必需
msg
string
必需
data
object
必需
id
integer
朋友圈ID
userName
string
必需
朋友圈作者的wxid
nickName
string
朋友圈作者的昵称
createTime
integer
发布时间
示例
{
"ret": 200,
"msg": "操作成功",
"data": {
"id": 14292805435261587000,
"userName": "zhangchuan2288",
"nickName": "朝夕。",
"createTime": 1703835181
}
}
最后修改时间: 7 个月前