Support » Plugin: WP to Twitter » When edit a post: always "Tweet sent successfully."

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Joe Dolson


    That’s certainly odd! I’ll check it out.

    At least nothing really bad happens 😉

    For the settings in the post-editor something else: Below “Previous Tweets:” a tweet appears, which never was posted.. in every post I’d like to edit. It’s written like the template says, but no tweet was sent. Maybe there is a connection between these two errors?

    AND: Obviously not every character will be posted (I know that’s a different issue). The counter by a long tweet says “Characters left: 0” (and this counter works correctöy!) – but twitter receives 5 or 6 letters less and posts this trimed tweet.

    Plugin Author Joe Dolson


    The character counting discrepancy probably means that your PHP install doesn’t include the Normalizer class. The counter is getting your characters from character insertion events, so it’s the actual number of characters you entered. This is correct, and fine.

    But the count sent to Twitter needs to be based on normalized text, so the server-side count of characters has to get a character count that compensates for multibyte characters (such as any character with an umlaut, etc.). The class for doing this the same way that Twitter does is the Normalizer class. If it’s not installed, I’ve got a back-up function that handles it, but it’s not nearly as complete or accurate, so it’s going to give you a different count.

    Add one more to the list of folks seeing the “Tweet sent successfully” message when editing any published post, but it seems like those messages are only showing up on posts that were auto-tweeted. Older posts that weren’t auto-tweeted don’t display that message if I open them to edit.

    Startled me the first time I saw it, I thought I’d accidentally double-tweeted something, LOL

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘When edit a post: always "Tweet sent successfully."’ is closed to new replies.