Skip to content
uxian edited this page Aug 22, 2012 · 9 revisions

Status Attributes of Sina Weibo

Field Type Explain
idstr string 字符串型的微博ID
created_at string 创建时间
id int64 微博ID
text string 微博信息内容
source string 微博来源
favorited boolean 是否已收藏
truncated boolean 是否被截断
in_reply_to_status_id int64 回复ID
in_reply_to_user_id int64 回复人UID
in_reply_to_screen_name string 回复人昵称
mid int64 微博MID
bmiddle_pic string 中等尺寸图片地址
original_pic string 原始图片地址
thumbnail_pic string 缩略图片地址
reposts_count int 转发数
comments_count int 评论数
annotations array 微博附加注释信息
geo object 地理信息字段
user object 微博作者的用户信息字段

Status Attributes of QQ Weibo

errcode : 返回错误码
msg : 错误信息
ret : 返回值,0-成功,非0-失败
data : 
    timestamp : 服务器时间戳,不能用于翻页
    hasnext : 0-表示还有微博可拉取,1-已拉取完毕
    info : 
        text : 微博内容
        origtext : 原始内容
        count : 微博被转次数
        mcount : 点评次数
        from : 来源
        fromurl : 来源url
        id : 微博唯一id
        image : 图片url列表
        video : 
            picurl : 缩略图
            player : 播放器地址
            realurl : 视频原地址
            shorturl : 视频的短url
            title : 视频标题
        music : 
            author : 演唱者
            url : 音频地址
            title : 音频名字,歌名
        name : 发表人帐户名
        openid : 用户唯一id,与name相对应
        nick : 发表人昵称
        self : 是否自已发的的微博,0-不是,1-是
        timestamp : 发表时间
        type : 微博类型,1-原创发表,2-转载,3-私信,4-回复,5-空回,6-提及,7-评论
        head : 发表者头像url
        location : 发表者所在地
        country_code : 国家码(其他时间线一样)
        province_code : 省份码(其他时间线一样)
        city_code : 城市码(其他时间线一样)
        isvip : 是否微博认证用户,0-不是,1-是
        geo : 发表者地理信息
        status : 微博状态,0-正常,1-系统删除,2-审核中,3-用户删除,4-根删除
        emotionurl : 心情图片url
        emotiontype : 心情类型
        source : 当type=2时,source即为源tweet
    user : 
        name : nick 当页数据涉及到的用户的帐号与昵称映射