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 <t...@siteartwork.de>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: t...@siteartwork.de > > Sent with conjoon. Visit http://www.conjoon.org >