获取当前登录用户及其所关注用户的最新微博消息。和用户登录 http://weibo.com 后在“我的首页”中看到的内容相同。同friends_timeline()
对应API:{@link http://open.weibo.com/wiki/2/statuses/home_timeline statuses/home_timeline}
对应API:{@link http://open.weibo.com/wiki/2/statuses/home_timeline statuses/home_timeline}
public home_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 | 是否只获取当前应用的数据。0为否(所有数据),1为是(仅当前应用),默认为0。 |
$feature | integer | 过滤类型ID,0:全部、1:原创、2:图片、3:视频、4:音乐,默认为0。 |
리턴 | array |