💎一站式轻松地调用各大LLM模型接口,支持GPT4、智谱、星火、月之暗面及文生图 广告
### 接口名称 WeiboStatuses/comments ### 接口描述 返回某条微博的评论列表 ### 请求地址 http://URL/WeiboStatuses/comments ### 输入参数 1. (string) oauth_token (必填) 2. (string) oauth_token_secret (必填) 3. (int)id,微博ID (必填) 4. (int) since_id,起始评论ID 5. (int) max_id,最大回复ID 6. (int) count,分页显示时,指定每页显示条数(默认20) 7. (int) page,分页显示时,指定获取的页码(默认取第1页) 8. (string) format,返回格式可选 json/php/test格式(默认json格式,为了阅读方便,以下文档中输出结果均以test格式显示) ### 输出结果 ~~~ [ { "comment_id": "148", "content": "胡明明\nhighly", "ctime": "2015-06-02 19:21", "uid": "6", "to_comment_id": "0", "to_uid": "0", "uname": "suancai", "avatar": "http://demo-coutuan123.b0.upaiyun.com/avatar/16/79/09/original.jpg!small.avatar.jpg?v1388022932", "to_uname": null }, { "comment_id": "114", "content": "M", "ctime": "2015-05-30 10:15", "uid": "6", "to_comment_id": "0", "to_uid": "0", "uname": "suancai", "avatar": "http://demo-coutuan123.b0.upaiyun.com/avatar/16/79/09/original.jpg!small.avatar.jpg?v1388022932", "to_uname": null }, { "comment_id": "101", "content": "111111", "ctime": "2015-05-29 13:54", "uid": "5", "to_comment_id": "0", "to_uid": "0", "uname": "xixihaha001", "avatar": "http://demo-coutuan123.b0.upaiyun.com/avatar/e4/da/3b/original.jpg!small.avatar.jpg?v1433035714", "to_uname": null }, { "comment_id": "99", "content": "他には", "ctime": "2015-05-29 11:17", "uid": "6", "to_comment_id": "0", "to_uid": "0", "uname": "suancai", "avatar": "http://demo-coutuan123.b0.upaiyun.com/avatar/16/79/09/original.jpg!small.avatar.jpg?v1388022932", "to_uname": null }, { "comment_id": "98", "content": "とやらはさ", "ctime": "2015-05-29 11:16", "uid": "6", "to_comment_id": "0", "to_uid": "0", "uname": "suancai", "avatar": "http://demo-coutuan123.b0.upaiyun.com/avatar/16/79/09/original.jpg!small.avatar.jpg?v1388022932", "to_uname": null }, { "comment_id": "97", "content": "でぬ腹", "ctime": "2015-05-29 11:16", "uid": "6", "to_comment_id": "0", "to_uid": "0", "uname": "suancai", "avatar": "http://demo-coutuan123.b0.upaiyun.com/avatar/16/79/09/original.jpg!small.avatar.jpg?v1388022932", "to_uname": null }, { "comment_id": "91", "content": "babab", "ctime": "2015-05-29 10:10", "uid": "6", "to_comment_id": "0", "to_uid": "0", "uname": "suancai", "avatar": "http://demo-coutuan123.b0.upaiyun.com/avatar/16/79/09/original.jpg!small.avatar.jpg?v1388022932", "to_uname": null } ] ~~~ ### 其他说明 1. comment_id,评论记录的主键 2. App,评论的应用,微博为public,如果是博客则是blog等 3. Table,评论的源记录所在的表,微博为feed 4. Row_id,评论的源记录在table表中的id,微博就是源的feed_id值 5. App_uid,评论的源的作者 app_name 评论原作者名字 6. Uid,发表评论的人 7. Content,评论的内容 8. To_comment_id,如果是回复的某条评论,这里记录回复的评论id 9. To_uid,如果是回复的某条评论,这里记录回复的那条评论的作者uid 10. Data,预留字段,默认为空 11. Ctime,评论创建时间 12. Is_del,是否已删除 13. Client_type,来源,同微博 14. Is_audit,是否已审核,0为未审核,1为已审核通过 15. Storey,评论的楼层信息(可选用) 16. User_info,为评论人的详细资料字段,参考微博部分