获取用户信息
POST
/api/weibo/user_detail请求参数
Header 参数
Cookie
string
可选
可以携带微博主页cookie
Body 参数application/json
uid
string
可选
用户ID(与分享链接必填一项)
share_text
string
可选
用户主页分享链接(与ID必填一项)
示例
{
"uid": "2656274875",
"share_text": ""
}
示例代码
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
code
integer
必需
msg
string
必需
data
object
必需
ok
integer
可选
data
object
可选
示例
{
"code": 200,
"msg": "请求成功",
"data": {
"ok": 1,
"data": {
"user": {
"id": 2656274875,
"idstr": "2656274875",
"pc_new": 7,
"screen_name": "央视新闻",
"profile_image_url": "https://tvax3.sinaimg.cn/crop.0.0.600.600.50/002TLsr9ly8hij42qizurj60go0gowfl02.jpg?KID=imgbed,tva&Expires=1701357749&ssig=wlVel2yFvu",
"profile_url": "/u/2656274875",
"verified": true,
"verified_type": 3,
"domain": "cctvxinwen",
"weihao": "",
"verified_type_ext": 0,
"avatar_large": "https://tvax3.sinaimg.cn/crop.0.0.600.600.180/002TLsr9ly8hij42qizurj60go0gowfl02.jpg?KID=imgbed,tva&Expires=1701357749&ssig=V6IfNd3Dkl",
"avatar_hd": "https://tvax3.sinaimg.cn/crop.0.0.600.600.1024/002TLsr9ly8hij42qizurj60go0gowfl02.jpg?KID=imgbed,tva&Expires=1701357749&ssig=%2FetjHI%2BZwX",
"follow_me": false,
"following": false,
"mbrank": 2,
"mbtype": 12,
"v_plus": 0,
"planet_video": false,
"verified_reason": "中央广播电视总台央视新闻官方账号",
"description": "“央视新闻”是中央广播电视总台新闻新媒体旗舰账号,是总台重大新闻、突发事件和重要报道的首发平台。",
"location": "北京",
"gender": "m",
"followers_count": 132222015,
"followers_count_str": "1.32亿",
"friends_count": 2745,
"statuses_count": 171611,
"url": "",
"svip": 1,
"vvip": 1,
"cover_image_phone": "https://wx1.sinaimg.cn/crop.0.0.640.640.640/002TLsr9ly1hij3ytpyp8j60e80e8wev02.jpg",
"icon_list": [
{
"type": "vip",
"data": {
"mbrank": 2,
"mbtype": 12,
"svip": 1,
"vvip": 1
}
}
],
"top_user": 1,
"user_type": 0,
"is_star": "0",
"is_muteuser": false,
"special_follow": false
},
"tabList": [
{
"name": "home",
"tabName": "精选"
},
{
"name": "feed",
"tabName": "微博"
},
{
"name": "newVideo",
"tabName": "视频"
},
{
"name": "article",
"tabName": "文章"
},
{
"name": "album",
"tabName": "相册"
}
],
"blockText": ""
},
"log": true
}
}
最后修改时间: 3 个月前