多应用+插件架构,代码干净,二开方便,首家独创一键云编译技术,文档视频完善,免费商用码云13.8K 广告
### 接口名称 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 } ] ~~~ ### 其他说明 ~~~ common_id 评论id content 评论内容 ctime 评论时间 uid 评论用户id uname 评论用户昵称 avatar 评论用户的头像 to_comment_id 被评论的评论id to_uid 被评论者的id to_uname 被评论者的昵称 ~~~