Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter julitolopez

    (@julitolopez)

    this happens when the plugin add the “RT @someuser

    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.

    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

    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?

    This patch fixes the problem for me.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘incomplete twitt is inserted to the DB’ is closed to new replies.