微博明细数据

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了微博明细数据相关的知识,希望对你有一定的参考价值。

数据介绍
此数据API返回结果包括:文章唯一id、文章标题、头像图片链接、原文链接、文章摘要、文章内容、转发、评论时间、博主id等微博全量信息。

调用链接:http://www.tdata.cn/api/content/index/id/595499990.html

接口列表
微博分析
接口地址

https://api.tdata.cn/beisai/microBlogAnalysis/

支持格式

JSON

请求方式

GET

请求示例

https://api.tdata.cn/beisai/microBlogAnalysis?appKey=密钥&queryName=济南

请求参数说明

编号 名称 类型 是否必填 备注
1 appKey String true 您的appkey
2 articleId String true 文章id
3 secondSpread boolean false 二次传播
4 secondRepeat boolean false 二次转发
5 secondComment boolean false 二次评论
6 secondAgree boolean false 二次点赞
7 pageNum int false 文章页数
返回参数说明

编号 名称 类型 备注
1 responseStatus string
2 object object
3 main_body array
4 articleId string
5 articleUrl string
6 pubdate string
7 content string
8 imgUrl string
9 author string
10 repeatcount string
11 commtcount string
12 agreecount string
13 sim_total string
14 main_repeat array
15 repeat_Id string
16 repeat_raw_text string
17 repeat_text string
18 repeat_time string
19 repeat_user_id string
20 repeat_user_name string
21 repeat_user_imageUrl string
22 repeat_verified string
23 repeat_verified_type string
24 repeat_mbtype string
25 repeat_profile_url string
26 repeat_remark null
27 main_comment array
28 comment_id string
29 comment_time string
30 comment_source string
31 comment_text string
32 comment_like_counts string
33 comment_liked string
34 comment_user_id string
35 comment_user_name string
36 profile_image_url string
37 comment_verified string
38 comment_verified_type string
39 comment_mbtype string
40 comment_profile_url string
41 comment_remark null
42 main_agree array
43 agree_id string
44 agree_time string
45 agree_source string
46 agree_user_id string
47 agree_user_name string
48 agree_user_imageUrl string
49 agree_verified string
50 agree_verified_type string
51 agree_mbtype string
52 agree_profile_url string
53 agree_remark null
54 secondSpread array
55 sim_main_body array
56 sim_main_repeat array
57 sim_main_comment array
58 sim_main_agree array
59 succeed string
返回示例

{
"responseStatus":"Success",
"object":{
"main_body":[
{
"articleId":"4176106469081313",
"articleUrl":"http: //weibo.com/1537790411/FvVSmC6sN",
"pubdate":"2017-11-20 10:27:12",
"content":"鹿晗愿望季第一周正式开始你们平时关注过身边的手工技艺和匠人么",
"imgUrl":"https: //tvax3.sinaimg.cn/crop.13.0.614.614.180/5ba8d1cbly8fesjytq8a0j20hs0h2754.jpg",
"author":"M鹿M",
"repeatcount":"564223",
"commtcount":"81834",
"agreecount":"438046",
"sim_total":"2"
}
],
"main_repeat":[
{
"repeat_Id":"4190349632980514",
"repeat_raw_text":"鹿晗鹿晗愿望季我不屑比赛我只是热爱难道说你还听不懂鹿加油加油加油",
"repeat_text":"鹿晗鹿晗愿望季我不屑比赛我只是热爱难道说你还听不懂鹿加油加油加油",
"repeat_time":"2017-12-29 17:44:48",
"repeat_user_id":"6431996823",
"repeat_user_name":"江洋大佬和前进哥哥",
"repeat_user_imageUrl":"https: //tvax4.sinaimg.cn/crop.0.0.664.664.180/0071i0cfly8fmeasc4pzdj30ig0ig3yz.jpg",
"repeat_verified":"false",
"repeat_verified_type":"-1",
"repeat_mbtype":"11",
"repeat_profile_url":"https: //weibo.com/u/6431996823",
"repeat_remark":""
}
],
"main_comment":[
{
"comment_id":"4190348206512702",
"comment_time":"2017-12-29 17:38:49",
"comment_source":"iPhone客户端",
"comment_text":"加油",
"comment_like_counts":"0",
"comment_liked":"false",
"comment_user_id":"5869639893",
"comment_user_name":"失眠的树60",
"profile_image_url":"https: //tva1.sinaimg.cn/crop.0.128.768.768.180/006peptbjw8f1e1xn6h7wj30lc0sgju2.jpg",
"comment_verified":"false",
"comment_verified_type":"-1",
"comment_mbtype":"2",
"comment_profile_url":"https: //weibo.com/u/5869639893",
"comment_remark":""
}
],
"main_agree":[
{
"agree_id":"4190351004275848",
"agree_time":"2017-12-29 17:50:50",
"agree_source":"荣耀手机 勇敢做自己",
"agree_user_id":"5995749879",
"agree_user_name":"最好的陪伴是____孤独",
"agree_user_imageUrl":"https: //tva3.sinaimg.cn/crop.0.0.740.740.180/006xLyrdjw8fbqjmtlotcj30kk0klmyh.jpg",
"agree_verified":"false",
"agree_verified_type":"-1",
"agree_mbtype":"2",
"agree_profile_url":"https: //weibo.com/u/5995749879",
"agree_remark":""
}
],
"secondSpread":[
{
"sim_main_body":[
{
"articleId":"4176106469081313",
"articleUrl":"http: //weibo.com/1537790411/FvVSmC6sN",
"pubdate":"2017-11-20 10:27:12",
"content":"鹿晗愿望季第一周正式开始你们平时关注过身边的手工技艺和匠人么",
"imgUrl":"https: //tvax3.sinaimg.cn/crop.13.0.614.614.180/5ba8d1cbly8fesjytq8a0j20hs0h2754.jpg",
"author":"M鹿M",
"repeatcount":"564223",
"commtcount":"81834",
"agreecount":"438047"
}
],
"sim_main_repeat":[
{
"repeat_Id":"4190349632980514",
"repeat_raw_text":"鹿晗鹿晗愿望季我不屑比赛我只是热爱难道说你还听不懂鹿加油加油加油",
"repeat_text":"鹿晗鹿晗愿望季我不屑比赛我只是热爱难道说你还听不懂鹿加油加油加油",
"repeat_time":"2017-12-29 17:44:54",
"repeat_user_id":"6431996823",
"repeat_user_name":"江洋大佬和前进哥哥",
"repeat_user_imageUrl":"https: //tvax4.sinaimg.cn/crop.0.0.664.664.180/0071i0cfly8fmeasc4pzdj30ig0ig3yz.jpg",
"repeat_verified":"false",
"repeat_verified_type":"-1",
"repeat_mbtype":"11",
"repeat_profile_url":"https: //weibo.com/u/6431996823",
"repeat_remark":""
}
],
"sim_main_comment":[
{
"comment_id":"4190348206512702",
"comment_time":"2017-12-29 17:38:55",
"comment_source":"iPhone客户端",
"comment_text":"加油",
"comment_like_counts":"0",
"comment_liked":"false",
"comment_user_id":"5869639893",
"comment_user_name":"失眠的树60",
"profile_image_url":"https: //tva1.sinaimg.cn/crop.0.128.768.768.180/006peptbjw8f1e1xn6h7wj30lc0sgju2.jpg",
"comment_verified":"false",
"comment_verified_type":"-1",
"comment_mbtype":"2",
"comment_profile_url":"https: //weibo.com/u/5869639893",
"comment_remark":""
}
],
"sim_main_agree":[
{
"agree_id":"4190351235409637",
"agree_time":"2017-12-29 17:50:57",
"agree_source":"魅蓝 metal",
"agree_user_id":"1693479451",
"agree_user_name":"福财有道",
"agree_user_imageUrl":"https: //tva4.sinaimg.cn/crop.0.0.180.180.180/64f0721bjw1e8qgp5bmzyj2050050aa8.jpg",
"agree_verified":"false",
"agree_verified_type":"220",
"agree_mbtype":"2",
"agree_profile_url":"https: //weibo.com/u/1693479451",
"agree_remark":""
}
]
}
]
},
"succeed":"true"
}

以上是关于微博明细数据的主要内容,如果未能解决你的问题,请参考以下文章

redis+php实现微博功能

如何通过python调用新浪微博的API来爬取数据

新浪微博客户端(60)-离线缓存微博数据

Python爬取新浪微博用户信息及内容

Python爬取新浪微博用户信息及内容

PHP 基于laravel框架获取微博数据之二 用户数据的使用