Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

character count incorrect, causing the tweet to fail getting delivered #397

Open
kjellski opened this issue May 19, 2013 · 6 comments
Open

Comments

@kjellski
Copy link

To reproduce the error, paste this into your silverbird client. I've reopened the browser in between tests and was able to see -1 on twitter when pasting it in their post box.

my #goal for today: finish the #treehouse course "Building Social Features in RoR" and "Dojo for #jQuery Developers" - bit.ly/YSsXy4

here two pictures:

WRONG:
silverbird_wrong_charcount

CORRECT:
twitter_right_charcount

Now to the fun part:
The actual text is only 132 characters long, which is then correctly counted by silverbird(showing 8). Nevertheless, twitter won't accept the tweet. we should somehow get arround their counting scheme and reproduce it for shortened urls.

@dorry-kun
Copy link

Twitter changed the way it manages links recently. I thought it added "http://", but that doesn't account for all of your 9 characters.

@Orforio
Copy link

Orforio commented Jun 13, 2013

I thought this was down to the fact that Twitter now wraps any URL in their own shortening service, even if it's already been shortened. See: https://support.twitter.com/articles/109623-about-twitter-s-link-service-http-t-co

@dorry-kun
Copy link

"URL of any length will be altered to 20 characters, even if the link itself is less than 20 characters long. Your character count will reflect this." ( https://support.twitter.com/articles/78124-how-to-shorten-links-urls )
Even with that you would have 1 character less than the 140 limit. I must be misunderstanding something...

@Orforio
Copy link

Orforio commented Jun 13, 2013

Fiddling around with Twitter's input box the only explanation I can come up with is that Twitter's shortened URLs actually take up 22 characters, not the 20 stated on the FAQ. Taking a look at a random URL in my feed, I'm only shown 15 characters in the t.co URL, so I'm guessing that http:// is added on to this, making the full 22.

@kjellski
Copy link
Author

Sorry for not catching up until now. This issue still exists on my side, from a users perspective it's really sad to craft a tweet to correctly match the 140 character to then get popped by twitter not accepting it because from their point of view it's longer. Maybe we should "correct" the counting on the silverbird side?

@dorry-kun
Copy link

Twitter changed the info in the FAQ we were refering to above. It now says it's 22 characters as PkerUNO counted. I think "correcting" it is the best option for us.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants