Zend Framework

Big integers of tweet ids are breaking the since_id parameter

Details

  • Type: Bug Bug
  • Status: Resolved Resolved
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 1.9.1
  • Fix Version/s: 1.9.3
  • Component/s: Zend_Service_Twitter
  • Labels:
    None

Description

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.

Activity

Hide
Jon Whitcraft added a comment -

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

Show
Jon Whitcraft added a comment - That sounds like a good plan. I'll take a look into a patch in the next few days.
Hide
Mario Volke added a comment -

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

Show
Mario Volke added a comment - This bug is actually a duplicate of ZF-7122, however it is still not fixed as stated there.
Hide
Jon Whitcraft added a comment -

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

Show
Jon Whitcraft added a comment - This has been resolved with r18099 and merged into the release branch with r18100.
Hide
Justin Hart added a comment -

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.

Show
Justin Hart added a comment - 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.
Hide
Pádraic Brady added a comment -

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)

Show
Pádraic Brady added a comment - 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)

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: