get_profile_like

get_profile_like只读扩展
获取资料点赞

Call via POST http://127.0.0.1:3000/get_profile_like (JSON params as the body) or WebSocket.

Parameters

Param Type Required Default Description
user_id int 0
start int 0
count int 10

Returns (data)

点赞资料:uid、最近点赞时间、收藏与点赞统计及用户明细。

Every response is wrapped in the standard envelope: { "status": "ok", "retcode": 0, "data": ... }. The table below describes data.

Field Type Required Description
uid string 用户 uid
time integer 最近点赞时间戳
favoriteInfo object 收藏统计
voteInfo object 点赞统计
Raw JSON Schema
{
  "type": "object",
  "properties": {
    "uid": {
      "type": "string",
      "description": "用户 uid"
    },
    "time": {
      "type": "integer",
      "description": "最近点赞时间戳"
    },
    "favoriteInfo": {
      "type": "object",
      "description": "收藏统计",
      "properties": {
        "total_count": {
          "type": "integer",
          "description": "收藏总数"
        },
        "last_time": {
          "type": "integer",
          "description": "最近收藏时间戳"
        },
        "today_count": {
          "type": "integer",
          "description": "今日收藏数"
        },
        "userInfos": {
          "type": "array",
          "description": "收藏用户列表",
          "items": {
            "type": "object",
            "properties": {
              "uid": {
                "type": "string",
                "description": "用户 uid"
              },
              "uin": {
                "type": "integer",
                "description": "用户 QQ 号;资料中没有有效号码时为 0"
              },
              "src": {
                "type": "integer",
                "description": "来源类型"
              },
              "latestTime": {
                "type": "integer",
                "description": "最近互动时间戳"
              },
              "count": {
                "type": "integer",
                "description": "互动次数"
              },
              "giftCount": {
                "type": "integer",
                "description": "礼物数量"
              },
              "customId": {
                "type": "integer",
                "description": "自定义标识"
              },
              "lastCharged": {
                "type": "integer",
                "description": "最近充能时间"
              },
              "bAvailableCnt": {
                "type": "integer",
                "description": "可用次数"
              },
              "bTodayVotedCnt": {
                "type": "integer",
                "description": "今日已点赞次数"
              },
              "nick": {
                "type": "string",
                "description": "昵称"
              },
              "gender": {
                "type": "integer",
                "description": "性别"
              },
              "age": {
                "type": "integer",
                "description": "年龄"
              },
              "isFriend": {
                "type": "boolean",
                "description": "是否为好友"
              },
              "isvip": {
                "type": "boolean",
                "description": "是否为会员"
              },
              "isSvip": {
                "type": "boolean",
                "description": "是否为超级会员"
              }
            },
            "required": [
              "uid",
              "uin",
              "src",
              "latestTime",
              "count",
              "giftCount",
              "customId",
              "lastCharged",
              "bAvailableCnt",
              "bTodayVotedCnt",
              "nick",
              "gender",
              "age",
              "isFriend",
              "isvip",
              "isSvip"
            ]
          }
        }
      }
    },
    "voteInfo": {
      "type": "object",
      "description": "点赞统计",
      "properties": {
        "total_count": {
          "type": "integer",
          "description": "点赞总数"
        },
        "new_count": {
          "type": "integer",
          "description": "新增点赞数"
        },
        "new_nearby_count": {
          "type": "integer",
          "description": "附近的人新增点赞数"
        },
        "last_visit_time": {
          "type": "integer",
          "description": "最近访问时间戳"
        },
        "userInfos": {
          "type": "array",
          "description": "点赞用户列表",
          "items": {
            "type": "object",
            "properties": {
              "uid": {
                "type": "string",
                "description": "用户 uid"
              },
              "uin": {
                "type": "integer",
                "description": "用户 QQ 号;资料中没有有效号码时为 0"
              },
              "src": {
                "type": "integer",
                "description": "来源类型"
              },
              "latestTime": {
                "type": "integer",
                "description": "最近互动时间戳"
              },
              "count": {
                "type": "integer",
                "description": "互动次数"
              },
              "giftCount": {
                "type": "integer",
                "description": "礼物数量"
              },
              "customId": {
                "type": "integer",
                "description": "自定义标识"
              },
              "lastCharged": {
                "type": "integer",
                "description": "最近充能时间"
              },
              "bAvailableCnt": {
                "type": "integer",
                "description": "可用次数"
              },
              "bTodayVotedCnt": {
                "type": "integer",
                "description": "今日已点赞次数"
              },
              "nick": {
                "type": "string",
                "description": "昵称"
              },
              "gender": {
                "type": "integer",
                "description": "性别"
              },
              "age": {
                "type": "integer",
                "description": "年龄"
              },
              "isFriend": {
                "type": "boolean",
                "description": "是否为好友"
              },
              "isvip": {
                "type": "boolean",
                "description": "是否为会员"
              },
              "isSvip": {
                "type": "boolean",
                "description": "是否为超级会员"
              }
            },
            "required": [
              "uid",
              "uin",
              "src",
              "latestTime",
              "count",
              "giftCount",
              "customId",
              "lastCharged",
              "bAvailableCnt",
              "bTodayVotedCnt",
              "nick",
              "gender",
              "age",
              "isFriend",
              "isvip",
              "isSvip"
            ]
          }
        }
      }
    }
  },
  "required": [
    "uid",
    "time",
    "favoriteInfo",
    "voteInfo"
  ]
}

Examples

curl
Python
JavaScript
Go
SnowLuma SDK
curl -X POST http://127.0.0.1:3000/get_profile_like \
  -H 'Content-Type: application/json' \
  -H 'Authorization: Bearer <access-token>' \
  -d '{"user_id":0,"start":0,"count":10}'
Using an AI assistant?

MCP-capable clients can discover and call this action directly — no hand-written HTTP. See MCP.