In some circumstances, the Twitter API library stores an incorrect status ID when creating a TwitterStatus object, for reasons that are documented here:

https://dev.twitter.com/discussions/7041

This in turn causes views based on the Twitter module to produce links to the wrong tweets.

Comments

sheldon rampton’s picture

Status: Active » Needs review
StatusFileSize
new498 bytes

Here's a patch that fixes this bug.

sheldon rampton’s picture

This problem originated because the status IDs of Tweets are integers with so many digits that they have started to exceed the number of bits available for storing integers in some programming languages, including Javascript and also some older versions of PHP as well as other programming languages. Twitter has documented the issue here and has responded by returning a string named "id_str" in addition to the old integer IDs named "id." They are recommending that consumers of the Twitter API user the "id_str" value rather than the "id" value:

https://dev.twitter.com/discussions/7041

xurizaemon’s picture

Issue summary: View changes
Status: Needs review » Closed (duplicate)

Dupe of all the other issues about this (see #2205277: Twitpocalypse issues redux).