小红书服务
  1. 笔记
小红书服务
  • 文档首页
  • 实例
    • 创建实例
      POST
  • 登录
    • 获取登录二维码
      POST
    • 获取二维码状态
      POST
  • 用户
    • 我的信息
      POST
    • 查询用户信息
      POST
    • 获取用户的笔记
      POST
    • 获取用户的收藏
      POST
  • 笔记
    • 获取评论
      POST
    • 评论
      POST
    • 点赞
      POST
    • 取消点赞
      POST
    • 收藏
      POST
    • 取消收藏
      POST
  • 通知
    • 赞和收藏
      POST
    • 新增关注
      POST
    • 评论和@
      POST
  • 推荐
    • 首页推荐
      POST
  • 发布笔记
    • 初始化
      POST
    • 获取上传许可
      POST
    • 上传图片
      POST
    • 上传视频
      POST
    • 发布图文笔记
      POST
    • 发布视频笔记
      POST
  1. 笔记

获取评论

开发中
POST
/note/get_comments

请求参数

Body 参数application/json
note_id
string 
必需
guid
string 
必需
示例
{
  "note_id": "6588fa35000000003a00bb97",
  "guid": "bc9de1ad-42ac-4a85-ae29-eb5f8a1feee8"
}

示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST '/note/get_comments' \
--header 'Content-Type: application/json' \
--data-raw '{
        "note_id": "6588fa35000000003a00bb97",
        "guid": "bc9de1ad-42ac-4a85-ae29-eb5f8a1feee8"
    }'

返回响应

🟢200成功
application/json
Body
err_msg
string 
必需
err_code
integer 
必需
data
object 
必需
data
object 
必需
code
integer 
必需
success
boolean 
必需
msg
string 
必需
hint
string 
必需
示例
{
  "err_msg": "success",
  "err_code": 0,
  "data": {
    "data": {
      "time": 1704450964400,
      "user_id": "62790d32000000002102b227",
      "comments": [
        {
          "user_info": {
            "user_id": "5573b06c5894464bcb88b1b2",
            "nickname": "zhangshiying🐯🐯🐯",
            "image": "https://sns-avatar-qc.xhscdn.com/avatar/1040g2jo30rjr95p22m0g40p45ao6pcdiipgk1vg?imageView2/2/w/120/format/jpg"
          },
          "sub_comment_cursor": "65891b3e00000000180262e6",
          "id": "658918110000000011005db3",
          "content": "。。。这个标题,我还以为权志龙给甘肃捐了3亿,没想到,呵呵",
          "ip_location": "浙江",
          "sub_comment_count": "215",
          "sub_comment_has_more": true,
          "show_tags": [],
          "create_time": 1703483409000,
          "like_count": "1732",
          "pictures": [],
          "note_id": "6588fa35000000003a00bb97",
          "liked": false,
          "sub_comments": [
            {
              "create_time": 1703484222000,
              "ip_location": "贵州",
              "target_comment": {
                "id": "658918110000000011005db3",
                "user_info": {
                  "image": "https://sns-avatar-qc.xhscdn.com/avatar/1040g2jo30rjr95p22m0g40p45ao6pcdiipgk1vg?imageView2/2/w/120/format/jpg",
                  "user_id": "5573b06c5894464bcb88b1b2",
                  "nickname": "zhangshiying🐯🐯🐯"
                }
              },
              "content": "感觉你有点神戳戳的",
              "show_tags": [],
              "status": 0,
              "at_users": [],
              "liked": false,
              "like_count": "1395",
              "user_info": {
                "user_id": "5b265bac11be102eb0d1e417",
                "nickname": "HeYaoao",
                "image": "https://sns-avatar-qc.xhscdn.com/avatar/1040g2jo30t924otbk05g4a6bc2dqpp0nhlchs5g?imageView2/2/w/120/format/jpg"
              },
              "pictures": [],
              "id": "65891b3e00000000180262e6",
              "note_id": "6588fa35000000003a00bb97"
            }
          ],
          "status": 3,
          "at_users": []
        },
        {
          "id": "65892b8f0000000011005b22",
          "like_count": "360",
          "sub_comment_count": "40",
          "sub_comments": [
            {
              "status": 0,
              "like_count": "71",
              "user_info": {
                "nickname": "阿q",
                "image": "https://sns-avatar-qc.xhscdn.com/avatar/1040g2jo30ohvipjcim005nh1en608dvulh93k90?imageView2/2/w/120/format/jpg",
                "user_id": "5e2175cc00000000010037fe"
              },
              "show_tags": [],
              "create_time": 1703554710000,
              "ip_location": "河南",
              "target_comment": {
                "id": "658a2e27000000000c000eb1",
                "user_info": {
                  "user_id": "63e8b8460000000027035fc7",
                  "nickname": "无趣男人的公共备忘录",
                  "image": "https://sns-avatar-qc.xhscdn.com/avatar/1040g2jo30qper0vf0m005ov8n139unu7qd9mieo?imageView2/2/w/120/format/jpg"
                }
              },
              "note_id": "6588fa35000000003a00bb97",
              "pictures": [],
              "content": "怎么才二百,我还以为你也捐了一百八十万呢",
              "at_users": [],
              "liked": false,
              "id": "658a2e960000000017029af3"
            }
          ],
          "sub_comment_has_more": true,
          "note_id": "6588fa35000000003a00bb97",
          "status": 0,
          "at_users": [],
          "show_tags": [],
          "create_time": 1703488399000,
          "sub_comment_cursor": "658a2e960000000017029af3",
          "content": "刚刚!权志龙捐了一百八十万人民币……确实气势弱了不少",
          "liked": false,
          "user_info": {
            "nickname": "无趣男人的公共备忘录",
            "image": "https://sns-avatar-qc.xhscdn.com/avatar/1040g2jo30qper0vf0m005ov8n139unu7qd9mieo?imageView2/2/w/120/format/jpg",
            "user_id": "63e8b8460000000027035fc7"
          },
          "ip_location": "浙江",
          "pictures": []
        },
        {
          "note_id": "6588fa35000000003a00bb97",
          "content": "因为韩国政府就只在这方面捐了4亿啊 他怎么能捐的更多呢[赞R]这只是第一笔捐款,这是他自己成立的基金会,后续需要很多很多资金的,都是他初创的。",
          "ip_location": "湖南",
          "sub_comments": [],
          "pictures": [],
          "status": 3,
          "at_users": [],
          "like_count": "3",
          "user_info": {
            "user_id": "5efee20c000000000100798d",
            "nickname": "bz拍立得",
            "image": "https://sns-avatar-qc.xhscdn.com/avatar/1040g2jo30qju7pv30c6g5nnus8608ucdnhanjoo?imageView2/2/w/120/format/jpg"
          },
          "sub_comment_count": "0",
          "show_tags": [],
          "sub_comment_has_more": false,
          "id": "6590b166000000001e01c4b5",
          "liked": false,
          "create_time": 1703981414000,
          "sub_comment_cursor": ""
        },
        {
          "like_count": "3",
          "show_tags": [],
          "ip_location": "上海",
          "sub_comments": [
            {
              "ip_location": "四川",
              "status": 0,
              "content": "是的 dddd",
              "like_count": "0",
              "user_info": {
                "user_id": "5b46de0c11be1039a1af2ac8",
                "nickname": "握瑜",
                "image": "https://sns-avatar-qc.xhscdn.com/avatar/1040g2jo30pdof271jq004a72nrf0oam8u8r5seo?imageView2/2/w/120/format/jpg"
              },
              "show_tags": [],
              "create_time": 1703948681000,
              "id": "65903189000000001f031e56",
              "note_id": "6588fa35000000003a00bb97",
              "at_users": [],
              "liked": false,
              "target_comment": {
                "id": "658fcb5c000000001a032c6f",
                "user_info": {
                  "image": "https://sns-avatar-qc.xhscdn.com/avatar/65842d943b5b7c3e3f9db6c2.jpg?imageView2/2/w/120/format/jpg",
                  "user_id": "586eda856a6a694dbfac87aa",
                  "nickname": "糯米情书"
                }
              },
              "pictures": []
            }
          ],
          "pictures": [],
          "at_users": [],
          "user_info": {
            "image": "https://sns-avatar-qc.xhscdn.com/avatar/65842d943b5b7c3e3f9db6c2.jpg?imageView2/2/w/120/format/jpg",
            "user_id": "586eda856a6a694dbfac87aa",
            "nickname": "糯米情书"
          },
          "sub_comment_cursor": "65903189000000001f031e56",
          "note_id": "6588fa35000000003a00bb97",
          "status": 0,
          "liked": false,
          "sub_comment_count": "1",
          "id": "658fcb5c000000001a032c6f",
          "content": "这三yi有点讽刺啊,被敲诈也是3yi",
          "create_time": 1703922524000,
          "sub_comment_has_more": false
        },
        {
          "show_tags": [],
          "note_id": "6588fa35000000003a00bb97",
          "content": "他自己戒了吗[doge]",
          "create_time": 1703493862000,
          "sub_comments": [
            {
              "create_time": 1703498161000,
              "ip_location": "陕西",
              "note_id": "6588fa35000000003a00bb97",
              "content": "你真挺有意思 空口鉴xd",
              "at_users": [],
              "liked": false,
              "like_count": "314",
              "user_info": {
                "user_id": "5f16f60d000000000100b9eb",
                "nickname": "志龙与娇娇.",
                "image": "https://sns-avatar-qc.xhscdn.com/avatar/1000g2jo2n4cpjn6js06g5nomuo6g9efb25ua640?imageView2/2/w/120/format/jpg"
              },
              "pictures": [
                {
                  "info_list": [
                    {
                      "image_scene": "WB_PRV",
                      "url": "http://sns-webpic-qc.xhscdn.com/202401051836/1329e6b34f2d5febd85b5c2429f0ea2c/comment/1040g2h030t3peug5425g5nomuo6g9efbb5mec6g!nc_n_webp_mw_1"
                    },
                    {
                      "image_scene": "WB_DFT",
                      "url": "http://sns-webpic-qc.xhscdn.com/202401051836/b84dfa12f4af958017deb455e55873c7/comment/1040g2h030t3peug5425g5nomuo6g9efbb5mec6g!nd_whgt34_webp_wm_1"
                    }
                  ],
                  "height": 1024,
                  "width": 1024,
                  "url_pre": "http://sns-webpic-qc.xhscdn.com/202401051836/1329e6b34f2d5febd85b5c2429f0ea2c/comment/1040g2h030t3peug5425g5nomuo6g9efbb5mec6g!nc_n_webp_mw_1",
                  "url_default": "http://sns-webpic-qc.xhscdn.com/202401051836/b84dfa12f4af958017deb455e55873c7/comment/1040g2h030t3peug5425g5nomuo6g9efbb5mec6g!nd_whgt34_webp_wm_1"
                }
              ],
              "id": "658951b0000000001a03224d",
              "status": 3,
              "show_tags": [],
              "target_comment": {
                "id": "658940e6000000001702a16b",
                "user_info": {
                  "image": "https://sns-avatar-qc.xhscdn.com/avatar/1040g2jo30rml501kii005n5tc6elo71086rhc9g?imageView2/2/w/120/format/jpg",
                  "user_id": "5cbd619d0000000017001c20",
                  "nickname": "jjjjjjz"
                }
              }
            }
          ],
          "sub_comment_has_more": true,
          "liked": false,
          "user_info": {
            "user_id": "5cbd619d0000000017001c20",
            "nickname": "jjjjjjz",
            "image": "https://sns-avatar-qc.xhscdn.com/avatar/1040g2jo30rml501kii005n5tc6elo71086rhc9g?imageView2/2/w/120/format/jpg"
          },
          "sub_comment_cursor": "658951b0000000001a03224d",
          "pictures": [],
          "at_users": [],
          "like_count": "93",
          "ip_location": "安徽",
          "sub_comment_count": "61",
          "id": "658940e6000000001702a16b",
          "status": 3
        },
        {
          "sub_comment_count": "12",
          "sub_comments": [
            {
              "liked": false,
              "show_tags": [],
              "create_time": 1703498672000,
              "pictures": [],
              "id": "658953b0000000001803591e",
              "status": 0,
              "content": "你捐了多少",
              "at_users": [],
              "target_comment": {
                "id": "658948d60000000018027571",
                "user_info": {
                  "user_id": "614206c300000000020276cd",
                  "nickname": "momo",
                  "image": "https://sns-avatar-qc.xhscdn.com/avatar/1040g2jo30q67otma7k005oa20r1gktmdgqaik90?imageView2/2/w/120/format/jpg"
                }
              },
              "note_id": "6588fa35000000003a00bb97",
              "like_count": "27",
              "user_info": {
                "user_id": "5b31f310f7e8b9576e733483",
                "nickname": "冷可爱嘟",
                "image": "https://sns-avatar-qc.xhscdn.com/avatar/645473975494bd5c8d2f9eed.jpg?imageView2/2/w/120/format/jpg"
              },
              "ip_location": "山东"
            }
          ],
          "show_tags": [],
          "create_time": 1703495590000,
          "ip_location": "河北",
          "like_count": "68",
          "user_info": {
            "user_id": "60df3ee500000000010076e8",
            "nickname": "阳光宅女l",
            "image": "https://sns-avatar-qc.xhscdn.com/avatar/6443ca765f098f6d8cba921b.jpg?imageView2/2/w/120/format/jpg"
          },
          "note_id": "6588fa35000000003a00bb97",
          "status": 3,
          "content": "个人基金会懂得都懂[笑哭R]",
          "at_users": [],
          "liked": false,
          "pictures": [],
          "id": "658947a60000000016025fec",
          "sub_comment_cursor": "658953b0000000001803591e",
          "sub_comment_has_more": true
        },
        {
          "show_tags": [],
          "pictures": [],
          "sub_comment_has_more": false,
          "at_users": [],
          "create_time": 1703561471000,
          "ip_location": "广西",
          "sub_comment_cursor": "",
          "sub_comment_count": "0",
          "sub_comments": [],
          "status": 3,
          "content": "现在这个社会……做好事都会被嘲笑了",
          "like_count": "27",
          "user_info": {
            "user_id": "5eda3125000000000100420d",
            "nickname": "梨泰院小绅士",
            "image": "https://sns-avatar-qc.xhscdn.com/avatar/616bfd15ebc9bd25f47c3b6b.jpg?imageView2/2/w/120/format/jpg"
          },
          "id": "658a48ff000000001803750a",
          "note_id": "6588fa35000000003a00bb97",
          "liked": false
        },
        {
          "show_tags": [],
          "ip_location": "河南",
          "sub_comments": [
            {
              "id": "658a3b20000000001f0303b2",
              "note_id": "6588fa35000000003a00bb97",
              "status": 0,
              "at_users": [],
              "show_tags": [],
              "create_time": 1703557920000,
              "content": "想想也知道韩国人也没必要给其他国家捐款呀",
              "liked": false,
              "like_count": "12",
              "user_info": {
                "user_id": "59a68a975e87e73fe55d799f",
                "nickname": "momo",
                "image": "https://sns-avatar-qc.xhscdn.com/avatar/1040g2jo30p5et2nfk66049p08h59eucv2h8rjm0?imageView2/2/w/120/format/jpg"
              },
              "ip_location": "广东",
              "target_comment": {
                "id": "658951af000000001a00cca3",
                "user_info": {
                  "image": "https://sns-avatar-qc.xhscdn.com/avatar/64014cca9ffb98befcb54584.jpg?imageView2/2/w/120/format/jpg",
                  "user_id": "6073c68c0000000001001b72",
                  "nickname": "卖肚兜的小姑娘"
                }
              },
              "pictures": []
            }
          ],
          "sub_comment_has_more": true,
          "liked": false,
          "note_id": "6588fa35000000003a00bb97",
          "content": "我以为3亿人民币给甘肃[微笑R]",
          "at_users": [],
          "pictures": [],
          "id": "658951af000000001a00cca3",
          "status": 3,
          "user_info": {
            "user_id": "6073c68c0000000001001b72",
            "nickname": "卖肚兜的小姑娘",
            "image": "https://sns-avatar-qc.xhscdn.com/avatar/64014cca9ffb98befcb54584.jpg?imageView2/2/w/120/format/jpg"
          },
          "create_time": 1703498159000,
          "sub_comment_count": "4",
          "sub_comment_cursor": "658a3b20000000001f0303b2",
          "like_count": "2"
        },
        {
          "sub_comment_count": "10",
          "status": 3,
          "like_count": "11",
          "create_time": 1703493066000,
          "id": "65893dca0000000006016f34",
          "show_tags": [],
          "ip_location": "江苏",
          "user_info": {
            "user_id": "5f1a4b66000000000101f365",
            "nickname": "弯弯的毛",
            "image": "https://sns-avatar-qc.xhscdn.com/avatar/626c6fbb55dfdbf263680407.jpg?imageView2/2/w/120/format/jpg"
          },
          "sub_comments": [
            {
              "user_info": {
                "user_id": "61ac9ac9000000001000a336",
                "nickname": "Forever gd",
                "image": "https://sns-avatar-qc.xhscdn.com/avatar/1040g2jo30nsn7h2hh26g5odcjb4k18pmfvoj8kg?imageView2/2/w/120/format/jpg"
              },
              "show_tags": [],
              "id": "6589923f000000001803790c",
              "note_id": "6588fa35000000003a00bb97",
              "content": "他捐很多次了[笑哭R]再说人家每年光版权费就赚那么多不差那点税",
              "at_users": [],
              "liked": false,
              "like_count": "29",
              "create_time": 1703514687000,
              "ip_location": "内蒙古",
              "pictures": [],
              "status": 0,
              "target_comment": {
                "id": "65893dca0000000006016f34",
                "user_info": {
                  "user_id": "5f1a4b66000000000101f365",
                  "nickname": "弯弯的毛",
                  "image": "https://sns-avatar-qc.xhscdn.com/avatar/626c6fbb55dfdbf263680407.jpg?imageView2/2/w/120/format/jpg"
                }
              }
            }
          ],
          "note_id": "6588fa35000000003a00bb97",
          "content": "基金会基本上很多都是逃税避税的",
          "liked": false,
          "pictures": [],
          "at_users": [],
          "sub_comment_cursor": "6589923f000000001803790c",
          "sub_comment_has_more": true
        },
        {
          "content": "完了 吸了 不吸捐啥",
          "at_users": [],
          "user_info": {
            "user_id": "5d9afcca000000000100a517",
            "nickname": "songya",
            "image": "https://sns-avatar-qc.xhscdn.com/avatar/64644f8895fc4c0002ec6d09.jpg?imageView2/2/w/120/format/jpg"
          },
          "id": "658b5470000000001100f8ac",
          "like_count": "0",
          "sub_comments": [
            {
              "content": "他不是都去主动做检查了吗 检查结果是没有xd啊 我不粉他都知道",
              "at_users": [],
              "liked": false,
              "user_info": {
                "user_id": "6082e6e700000000010001c8",
                "nickname": "雪雪",
                "image": "https://sns-avatar-qc.xhscdn.com/avatar/656f218e350d7c0dbcbbcc79.jpg?imageView2/2/w/120/format/jpg"
              },
              "create_time": 1703913658000,
              "ip_location": "广东",
              "pictures": [],
              "id": "658fa8ba000000001e01f9a2",
              "note_id": "6588fa35000000003a00bb97",
              "status": 0,
              "like_count": "0",
              "show_tags": [],
              "target_comment": {
                "user_info": {
                  "user_id": "5d9afcca000000000100a517",
                  "nickname": "songya",
                  "image": "https://sns-avatar-qc.xhscdn.com/avatar/64644f8895fc4c0002ec6d09.jpg?imageView2/2/w/120/format/jpg"
                },
                "id": "658b5470000000001100f8ac"
              }
            }
          ],
          "sub_comment_cursor": "658fa8ba000000001e01f9a2",
          "note_id": "6588fa35000000003a00bb97",
          "liked": false,
          "sub_comment_has_more": true,
          "pictures": [],
          "status": 0,
          "show_tags": [],
          "create_time": 1703629936000,
          "ip_location": "加拿大",
          "sub_comment_count": "3"
        }
      ],
      "cursor": "658b5470000000001100f8ac",
      "has_more": true
    },
    "code": 0,
    "success": true,
    "msg": "成功"
  },
  "hint": "170445096355048357277923"
}
上一页
获取用户的收藏
下一页
评论
Built with