public function getFollowedStreams($accessToken, $params = array())
    {
        if (empty($accessToken)) {
            throw new \InvalidArgumentException('Empty access token provided', 1);
        }
        $params = 0 < count($params) ? '?'.http_build_query($params) : '';
        $response = $this->getClient()->get(self::ENDPOINT.'followed'.$params, array('Authorization' => 'OAuth '.$accessToken));
        $data = $this->jsonResponse($response);

        return $this->getFactory()->createList($data);
    }
public function getFollowedStreams($accessToken, $params = array())
    {
        if (empty($accessToken)) {
            throw new \InvalidArgumentException('Empty access token provided', 1);
        }
        $params = 0 < count($params) ? '?'.http_build_query($params) : '';
        $response = $this->getClient()->get(self::ENDPOINT.'followed'.$params, array('Authorization' => 'OAuth '.$accessToken));
        $data = $this->jsonResponse($response);

        return $this->getFactory()->createList($data);
    }
public function getFollowedStreams ( $ accessToken , $ params = array ( ) ) { if ( empty ( $ accessToken ) ) { throw new \ InvalidArgumentException ( 'Empty access token provided' , 1 ) ; } $ params = 0 < count ( $ params ) ? '?' . http_build_query ( $ params ) : '' ; $ response = $ this -> getClient ( ) -> get ( self :: ENDPOINT . 'followed' . $ params , array ( 'Authorization' => 'OAuth ' . $ accessToken ) ) ; $ data = $ this -> jsonResponse ( $ response ) ; return $ this -> getFactory ( ) -> createList ( $ data ) ; }
Get authenticated user streams.

@param string $accessToken
@param array  $params

@return StreamList
Get authenticated user streams .