public function getUserMedia($id = 'self', $limit = 0)
    {
        $params = array();

        if ($limit > 0) {
            $params['count'] = $limit;
        }

        return $this->_makeCall('users/' . $id . '/media/recent', strlen($this->getAccessToken()), $params);
    }
public function getUserMedia($id = 'self', $limit = 0)
    {
        $params = array();

        if ($limit > 0) {
            $params['count'] = $limit;
        }

        return $this->_makeCall('users/' . $id . '/media/recent', strlen($this->getAccessToken()), $params);
    }
public function getUserMedia ( $ id = 'self' , $ limit = 0 ) { $ params = array ( ) ; if ( $ limit > 0 ) { $ params [ 'count' ] = $ limit ; } return $ this -> _makeCall ( 'users/' . $ id . '/media/recent' , strlen ( $ this -> getAccessToken ( ) ) , $ params ) ; }
Get user recent media.

@param int|string $id Instagram user ID
@param int $limit Limit of returned results

@return mixed
Get user recent media .