WordPress.org

Ready to get started?Download WordPress

Forums

Twitter Tools
[resolved] incomplete twitt is inserted to the DB (6 posts)

  1. julitolopez
    Member
    Posted 1 year ago #

    Hi im using the last version of the plugin,
    my website is basta.com.ar
    and all work fine, but the tweet are incomplete.
    i double check in the database fields, and the tweet lost the last 10 characters.
    Any ideas?

    http://wordpress.org/extend/plugins/twitter-tools/

  2. julitolopez
    Member
    Posted 1 year ago #

    this happens when the plugin add the "RT @someuser"

  3. xadium
    Member
    Posted 1 year ago #

    Confirmed.

    I can't work out where the truncation of the text is happening... I've gone over the code, can't find a reference to when the ellipsis is added to the tweet text, can't find anywhere where the maximum length of the tweet entry is set nor where 'RT @someuser' is added either.

  4. xadium
    Member
    Posted 1 year ago #

    Right

    The problem is with the handling of the JSON being returned by Twitter - if native retweet is being used then the responses contains the truncated version with the addition of 'RT @someuser' and later contains the original tweet text:

    {...
    "retweeted_status":
         {"created_at":"Thu Dec 27 16:XX:XX +0000 2012",
          "id":2843313239743XXX,
          "id_str":"2843313239743XXXXX",
          "text":"This is where the full and complete text of the original tweet is.............",
          "source":"web",
          "truncated":false,"
          ...
          }
    }

    Busy for now but will look at whether this can be fixed...

    Reference:
    https://dev.twitter.com/docs/platform-objects/tweets

  5. auctionmethod
    Member
    Posted 1 year ago #

    I am having this exact same problem. All of the tweets that I want to publish on wordpress are retweets. All of the long tweets are rendered unusable because the posts are truncated. Has a solution been found?

  6. Trustin Lee
    Member
    Posted 9 months ago #

    This patch fixes the problem for me.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic