ZF-7667: Big integers of tweet ids are breaking the since_id parameter

Issue Type: Bug Created: 2009-08-23T10:20:15.000+0000 Last Updated: 2009-09-25T08:40:29.000+0000 Status: Resolved Fix version(s): - 1.9.3 (22/Sep/09)

Reporter: Mario Volke (webholics) Assignee: Jon Whitcraft (sidhighwind) Tags: - Zend_Service_Twitter

Related issues: Attachments:


A few weeks ago the ids of tweets got bigger than 2^32. The problem is that the since_id parameter (e.g. in statusFriendsTimeline) is converted to int. But there's no support in PHP for integers of that size. Maybe we should simply use strings and check if the string only contains digits.


Posted by Jon Whitcraft (sidhighwind) on 2009-08-23T11:11:45.000+0000

That sounds like a good plan. I'll take a look into a patch in the next few days.

Posted by Mario Volke (webholics) on 2009-08-24T00:37:34.000+0000

This bug is actually a duplicate of ZF-7122, however it is still not fixed as stated there.

Posted by Jon Whitcraft (sidhighwind) on 2009-09-13T10:55:52.000+0000

This has been resolved with r18099 and merged into the release branch with r18100.

Posted by Justin Hart (onyxraven) on 2009-09-25T08:31:39.000+0000

This change changed the userShow functionality - it now only accepts integer user_id as the parameter, not id or screen name as the docblock and previous functionality states.

friendshipCreate/Destroy/Exists are similarly affected.

Posted by Pádraic Brady (padraic) on 2009-09-25T08:40:29.000+0000

If this is a new issue - submit it as a new issue. Otherwise re-open the issue. If it remains marked resolved, it will not get any attention. (I just noticed this from an IRC notice only)

Have you found an issue?

See the Overview section for more details.


© 2006-2018 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.