ThinkChat2.0新版上线,更智能更精彩,支持会话、画图、阅读、搜索等,送10W Token,即刻开启你的AI之旅 广告
## 接口定义 ~~~[api] get:http://open.koldata.net/weibo/articles *bigint:weibo_id=1304254192#微博账号id int:page=1#页码;默认值为1 int:page_size=10#页大小,可选值10,20;默认值为10 int:sort_by=0#按发布时间排序,1升序,0降序;默认值为0 <<< success { "status": 1, "err": "", "data": { "current_page": 1, "data": [ { "account_id": 21080, "content_link": "https://weibo.com/21080/HjJPz53Jw", "zan_num": 0, "comment_num": 2, "repost_num": 1, "from": "生日动态", "pub_time": "2019-03-07 03:12:17", "relay": 0, "wid": "HjJPz53Jw", "collect_time": "2019-06-18 21:14:27" }, { "account_id": 21080, "content_link": "https://weibo.com/21080/G6bYquEaM", "zan_num": 1, "comment_num": 1, "repost_num": 1, "from": "生日动态", "pub_time": "2018-03-07 02:22:30", "relay": 0, "wid": "G6bYquEaM", "collect_time": "2018-08-09 03:13:48" }, ], "from": 1, "last_page": 352, "next_page_url": "http://pkoldata.kolstore.com/weibo/articles?page_size=10&weibo_id=21080&page=2", "path": "http://pkoldata.kolstore.com/weibo/articles", "per_page": 10, "prev_page_url": null, "to": 10, "total": 3516 }, "request_id": "4hDLP1FRXZtDi7zJFAFdinZ1acc19f0eab496917fc171898540df8a6" } <<< error { "status": 0, "err": { "account_wrong": [ "130425419 2" ], "not_found": [ "1304279461" ] }, "data": [], "request_id": "69KgplxEc4aybct2qIHi266r2d4105d6fd390833e30d74f00f4d7440" } ~~~ ## 响应参数说明 | 字段 | 说明 | 备注 | |---|---|---| | status | 请求获取数据成功/失败 | 1=成功;0=失败 | | err | 错误信息 | | | current_page | 当前页码 | | | account_id | 微博账号id | | | content_link | 微博内容链接 | | | zan_num | 点赞数 | | | comment_num | 评论数 | 包括回复评论数 | | repost_num | 转发数 | | | account_info | 账号信息 | | | data/from | 发布平台、设备 | 位于账号信息内 | | pub_time | 发布时间 | 格式说明:YYYY-MM-DD HH:MM:SS | | relay | 是否转发 | 0=非转发微博;1=转发微博 | | wid | 该条微博的id | | | collect_time | 采集时间 | 格式说明:YYYY-MM-DD HH:MM:SS | | from | 数据开始行 | | | last_page | 最后页码 | | | next_page_url | 下一页地址 | | | path | 接口地址 | | | per_page | 每页行数 | | | prev_page_url | 上一页接口地址 | | | to | 数据结束行 | | | total | 数据总行 | | | request_id | 此次请求的id | | ## 接口访问限制及注意事项 1.权限:需认证; 2.频率:每分钟300次,超频将限制访问1分钟; 3.更新数据:每日更新最新发布两页内容的变量数据。