接口文档开发者博客官网首页

获取消息列表

POSThttps://api.wechatapi.net/finder/mentionList

接口说明

首次执行返回为空,拿返回的lastBuff传参即可获取数据。

请求参数

参数名位置类型必填说明
wechat-tokenheaderstring必填
appIdbodystring必填

设备ID

myUserNamebodystring必填

自己的username

myRoleTypebodyinteger必填

自己的roletype,默认为3

reqScenebodyinteger必填

消息类型 3是点赞 4是评论 5是关注

lastBuffbodystring

首次传空,后续传接口返回的lastBuffer

请求示例

Request JSON
{
  "appId": "",
  "myUserName": "",
  "myRoleType": 0,
  "reqScene": 0,
  "lastBuff": ""
}

响应示例

Response JSON
{
  "ret": 200,
  "msg": "操作成功",
  "data": {
    "list": {
      "mentions": [
        {
          "headUrl": "http://wx.qlogo.cn/finderhead/ajNVdqHZLLBn2wux0rkD6gc4NLsC0zqSeWeJNnp1bGnnPCHl0tt56A/0",
          "nickname": "我的生活选择",
          "mentionType": 18,
          "mentionContent": "谢谢你的关注",
          "createtime": 1699863094,
          "thumbUrl": "",
          "mentionId": 268435463,
          "refObjectId": 140674547237424,
          "refCommentId": 0,
          "flag": 0,
          "extflag": 3,
          "refContent": "",
          "mediaType": 0,
          "description": "",
          "replyNickname": "",
          "refObjectNonceId": "",
          "username": "v2_060000231003b20faec8c7e58d1dcad6ce0ced33b0773abe5958d674168d77f7102844347047@finder",
          "contact": {
            "contact": {
              "username": "v2_060000231003b20faec8c7e58d1dcad6ce0ced33b0773abe5958d674168d77f7102844347047@finder",
              "nickname": "我的生活选择",
              "headUrl": "https://wx.qlogo.cn/finderhead/ver_1/qOI5dkUOJ8YodCzzxP9ibztL9XrEbTeq0qJSXXeWribxs0eJicNBHOOLtJOAKpltTyboILgerib13g2tbQfws6QFiajvcvKD935KeibMcVYeguegA/0",
              "seq": 57,
              "signature": "追求自己想要的生活,努力前进,让自己变的更好",
              "authInfo": {},
              "coverImgUrl": "",
              "spamStatus": 0,
              "extFlag": 262156,
              "extInfo": {
                "country": "CN",
                "province": "Hunan",
                "city": "Shaoyang",
                "sex": 2
              },
              "liveStatus": 2,
              "liveCoverImgUrl": "",
              "liveInfo": {
                "anchorStatusFlag": 2048,
                "switchFlag": 53727,
                "lotterySetting": {
                  "settingFlag": 0,
                  "attendType": 4
                }
              },
              "status": 0
            }
          },
          "refObjectType": 0,
          "extInfo": {
            "appName": "",
            "entityId": ""
          },
          "svrMentionId": 8,
          "followFlag": 0,
          "orderCount": 0,
          "interactionCount": 0,
          "forceUseRefContent": 0
        }
      ]
    },
    "lastBuff": "CAgQABj///9/"
  }
}
接入 获取消息列表 接口

注册即可获取 appId 与调用凭证,支持在线调试。

免费注册在线调试

本模块其他接口