Skip to content
hupili edited this page Aug 23, 2012 · 9 revisions

Table of Contents

Status Attributes of Sina Weibo

http://open.weibo.com/wiki/2/statuses/home_timeline

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

http://wiki.open.t.qq.com/index.php/时间线/主页时间线

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 当页数据涉及到的用户的帐号与昵称映射

Status Attributes of Renren

http://wiki.dev.renren.com/wiki/Status.gets

节点名称    	描述
uid     	节点表示用户id
status_id	节点表示状态id
time    	节点表示状态发表的时间
message	        节点表示状态的内容
comment_count	节点表示该状态的回复个数
source_name	节点表示状态的发布来源名称
source_url	节点表示状态的发布来源的地址
place   	节点表示状态的发布的地点
latitude	节点表示状态的发布的地点的维度
lbs_id  	节点表示状态的发布的地点的ID
location	节点表示状态的发布的地点的位置
longitude	节点表示状态的发布的地点的经度
name    	节点表示状态的发布的地点的名字
url     	节点表示状态的发布的地点的链接地址
forward_message	节点表示除转发的根状态外的转发体信息,如:转自XXX:转自YYY(转发的状态才会有)
root_status_id	节点表示被转发的根状态id(转发的状态才会有)
root_message	节点表示被转发的根状态内容(转发的状态才会有)
root_uid	节点表示被转发的根状态的拥有者的用户id(转发的状态才会有)
root_username	节点表示被转发的根状态的拥有者的用户名(转发的状态才会有)
forward_count	节点表示该状态被转发的次数

> Remarks: the status.get interface can only return status of > current user. In our current Renren plugin of snsapi, we use > the following feed interface to retrieve friends' updates.

Feeds Attributes of Renren

http://wiki.dev.renren.com/wiki/Feed.get

post_id 	表示新鲜事的id
source_id 	表示新鲜事内容主体的id,例如日志id、相册id和分享id等等
feed_type 	表示新鲜事类型
update_time 	表示新鲜事更新时间
actor_id 	表示新鲜事用户的id
name 	表示新鲜事用户的姓名
actor_type 	表示新鲜事发起者的类型,目前有“user”,“page”。user代表人人网用户新鲜事,page代表公共主页新鲜事。
headurl 	表示新鲜事用户的头像
prefix 	表示新鲜事内容的前缀
message 	表示新鲜事用户自定义输入内容,状态
title 	表示新鲜事的主题内容
href 	表示新鲜事主题的相关链接
description 	表示新鲜事的具体内容
attachment 	表示新鲜事中包含的媒体内容,例如照片、视频等
href 	表示媒体内容的链接地址 feed_media子节点
media_type 	表示媒体内容的类型,目前有“photo”, “album”, “link”, “video”, “audio”, “status” feed_media子节点
src 	表示媒体内容的原地址 feed_media子节点
raw_src 	media_type为“photo”时特有,代表未加工过的原图URL。
content 	表示媒体文本相关内容,例如:media_type为“status”代表状态的内容;media_type为“photo”代表照片的描述信息。
media_id 	表示媒体内容的id,例如相片的id feed_media子节点
owner_id 	表示媒体内容的所有者id feed_media子节点
comments 	表示新鲜事中包含的评论内容,目前返回最新和最早的评论
count 	表示评论的数量 comments子节点
comment 	表示评论的具体内容 comments子节点
uid 	表示发表评论用户的id comment子节点
name 	表示发表评论的用户姓名 comment子节点
headurl 	表示发表评论的用户头像 comment子节点
time 	表示评论的时间 comment子节点
comment_id 	表示评论的id comment子节点
text 	表示评论的内容 comment子节点
likes 	表示赞相关的信息
total_count 	表示赞的总数量
friend_count 	表示赞中好友的数量
user_like 	表示当前用户是否赞操作
uid 	表示赞操作的用户id
source 	表示照片的来源
source_text 	表示照片来源的名称
source_href 	表示照片来源的url
place 	表示新鲜事发生的
lbs_id 	表示新鲜事发生地点的ID place子节点
name 	表示新鲜事发生地点的名称 place子节点
address 	表示新鲜事发生地点的地址 place子节点
url 	表示新鲜事发生地点所要链接到的URL place子节点
longitude 	表示新鲜事发生的地点的经度 place子节点
latitude 	表示新鲜事发生的地点纬度 place子节点