WordPress.org

Support

Support » Plugins and Hacks » Twitter Tools » [Resolved] Retweets are truncated when converted to blog posts

[Resolved] Retweets are truncated when converted to blog posts

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor Alex King

    @alexkingorg

    I believe the tweets are truncated in the data received from Twitter. A patch to reach deeper to the original tweet would probably solve this – please feel free to open a pull request on GitHub if you create a patch to do this.

    Hi Alex.

    The issue with truncated retweets is discussed here: https://code.google.com/p/twitter-api/issues/detail?id=2261.

    Here’s the solution, I believe:

    When reading Retweets from XML and JSON API responses you should ensure your code is inspecting the text attribute of the retweeted_status object.

    For example, there are two ‘text’ attributes in the response for Tweet 88002464741203968. One is the truncated RSS/Atom/SMS format of the Tweet (Text) and the other is the original Tweet that was retweeted (retweeted_status.text). The correct one to use is the retweeted_status.text version.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] Retweets are truncated when converted to blog posts’ is closed to new replies.
Skip to toolbar