SaeTClientV2::friends_timeline PHP Method

friends_timeline() public method

获取当前登录用户及其所关注用户的最新微博消息。和用户登录 http://weibo.com 后在“我的首页”中看到的内容相同。同home_timeline()
对应API:{@link http://open.weibo.com/wiki/2/statuses/friends_timeline statuses/friends_timeline}
public friends_timeline ( integer $page = 1, integer $count = 50, integer $since_id, integer $max_id, integer $base_app, integer $feature ) : array
$page integer 指定返回结果的页码。根据当前登录用户所关注的用户数及这些被关注用户发表的微博数,翻页功能最多能查看的总记录数会有所不同,通常最多能查看1000条左右。默认值1。可选。
$count integer 每次返回的记录数。缺省值50,最大值200。可选。
$since_id integer 若指定此参数,则只返回ID比since_id大的微博消息(即比since_id发表时间晚的微博消息)。可选。
$max_id integer 若指定此参数,则返回ID小于或等于max_id的微博消息。可选。
$base_app integer 是否基于当前应用来获取数据。1为限制本应用微博,0为不做限制。默认为0。可选。
$feature integer 微博类型,0全部,1原创,2图片,3视频,4音乐. 返回指定类型的微博信息内容。转为为0。可选。
return array
    function friends_timeline($page = 1, $count = 50, $since_id = 0, $max_id = 0, $base_app = 0, $feature = 0)
    {
        return $this->home_timeline($since_id, $max_id, $count, $page, $base_app, $feature);
    }
SaeTClientV2