I think this has been solved in trunk and will be included in the next mini release. If you see any issues with trunk currently, please file an issue :)

-ralph

Саша Стаменковић wrote:
Wow, looks like long should be used instead int, right?

Regards,
Saša Stamenković


On Sun, Jul 12, 2009 at 5:04 PM, Thorsten Suckow-Homberg <[email protected] <mailto:[email protected]>> wrote:


    Looking into into the current release (1.8.4), I see that
    Zend_Service_Twitter does not consider the integer overflow problem with
    twitter ids (see http://www.twitpocalypse.com/), though its obvious.



    For example, the "favoriteCreate" method silently casts the id of
    the tweet to integer, but it shouldn't:



       /**

        * Mark a status as a favorite

        *

        * @param  int $id Status ID you want to mark as a favorite

        * @return Zend_Rest_Client_Result

        */

       public function favoriteCreate($id)

       {

           $this->_init();

           $path = '/favorites/create/' . (int) $id . '.xml';



           $response = $this->restPost($path);

           return new Zend_Rest_Client_Result($response->getBody());

       }



    Any plans on fixing this for the next maintenance release?

    --
    Thorsten Suckow-Homberg
    Jakobstrasse 214-216
    52064 Aachen
    http://www.siteartwork.de

    Tel.:  0151 -10927135
    Email: [email protected] <mailto:[email protected]>

    Sent with conjoon. Visit http://www.conjoon.org


Reply via email to