Issues

ZF-10512: Zend_Service_Twitter should support followers/ids and friends/ids methods

Description


108c108,110
<         'block'
---
>         'block',
>         'friends',
>         'followers'
916a919,948
>      * Returns an array of numeric IDs for every user the specified user is following.
>      *
>      * @param  int|string $id User ID or name
>      * @throws Zend_Http_Client_Exception if HTTP request fails or times out
>      * @return Zend_Rest_Client_Result
>      */
>     public function friendsIds($id)
>     {
>         $this->_init();
>         $path = '/1/friends/ids.xml';
>         $response = $this->_get($path, array('id'=>$id));
>         return new Zend_Rest_Client_Result($response->getBody());
>     }
>
>     /**
>      * Returns an array of numeric IDs for every user following the specified user
>      *
>      * @param  int|string $id User ID or name
>      * @throws Zend_Http_Client_Exception if HTTP request fails or times out
>      * @return Zend_Rest_Client_Result
>      */
>     public function followersIds($id)
>     {
>         $this->_init();
>         $path = '/1/followers/ids.xml';
>         $response = $this->_get($path, array('id'=>$id));
>         return new Zend_Rest_Client_Result($response->getBody());
>     }
>
>     /**

Comments

No comments to display