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、最近点赞时间、收藏(favoriteInfo)与点赞(voteInfo)统计。

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": "用户列表(恒空)"
        }
      }
    },
    "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": "用户列表(恒空)"
        }
      }
    }
  },
  "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.