SaeTClientV2::get_tags PHP Method

get_tags() public method

对应API:{@link http://open.weibo.com/wiki/2/tags tags}
public get_tags ( integer $uid = NULL, integer $page = 1, integer $count = 20 ) : array
$uid integer 查询用户的ID。默认为当前用户。可选。
$page integer 指定返回结果的页码。可选。
$count integer 单页大小。缺省值20,最大值200。可选。
return array
    function get_tags($uid = NULL, $page = 1, $count = 20)
    {
        $params = array();
        if ($uid) {
            $params['uid'] = $uid;
        } else {
            $user_info = $this->get_uid();
            $params['uid'] = $user_info['uid'];
        }
        $this->id_format($params['uid']);
        $params['page'] = $page;
        $params['count'] = $count;
        return $this->oauth->get('tags', $params);
    }
SaeTClientV2