新浪微博java-API Status类

1、Status类成员变量:

    private Date createdAt;                                                                    //  创建时间
    private long id;                               //  微博id
    private String text;                                                                         //  微博内容,其中的表情为[表情图片对应的文字]
    private String source;                                                //  微博来源::::发布此条微博的来源,可以是:新浪微博、手机微博、----
                                     //   ----其他网站、其他应用等,一般为一个可以指向这些应用的快捷方式。
    private boolean isTruncated;                                         //  是否被截断???
    private long inReplyToStatusId;                                    //   回复ID
    private int inReplyToUserId;                                        //   回复人UID
    private boolean isFavorited;                                        //  是否已收藏
    private String inReplyToScreenName;                               //  回复人昵称
    private double latitude = -1;                                       //  纬度
    private double longitude = -1;                                      //  经度

图片的大小应该是满足:
Thumbnail_pic <= Bmiddle_pic <= Original_pic


    private String thumbnail_pic;                                        //  缩略图
    private String bmiddle_pic;                                         //  中型图片
    private String original_pic;                                          //  原始图片
    private RetweetDetails retweetDetails;                             //    转发的博文,内容为status,如果不是转发,则没有此字段
    private User user;                                                                           //    作者信息

2、User成员变量:

private int id;                                                              //    用户UID  
    private String name;                                                                     //    友好显示名称,同微博昵称  
    private String screenName;                                                                 //    微博昵称
    private String location;                                                                        // 地址
    private String description;                                                                   // 个人描述
    private String profileImageUrl;                                                              //    自定义图像
    private String url;                                                                                //    用户博客地址
    private boolean isProtected;                                                                  //
    private int followersCount;                                                                     //    粉丝数

    private Date statusCreatedAt;                                                                 //
    private long statusId = -1;
    private String statusText = null;                                                               
    private String statusSource = null;
    private boolean statusTruncated = false;
    private long statusInReplyToStatusId = -1;
    private int statusInReplyToUserId = -1;
    private boolean statusFavorited = false;
    private String statusInReplyToScreenName = null;

    private String profileBackgroundColor;
    private String profileTextColor;
    private String profileLinkColor;
    private String profileSidebarFillColor;
    private String profileSidebarBorderColor;
    private int friendsCount;                                                                            // 关注数
    private Date createdAt;                                                                             // 创建时间
    private int favouritesCount;                                                                        // 收藏数
    private int utcOffset;
    private String timeZone;
    private String profileBackgroundImageUrl;
    private String profileBackgroundTile;
    private boolean following;                                                                            // 是否已关注(此特性暂不支持)
    private boolean notificationEnabled;
    private int statusesCount;                                                                            // 微博数
    private boolean geoEnabled;
    private boolean verified;                                                                // 加V标示,是否微博认证用户  
posted @ 2011-06-12 17:26  奋奋  阅读(2941)  评论(0编辑  收藏  举报