-
Notifications
You must be signed in to change notification settings - Fork 87
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
Comments
Twitter changed the way it manages links recently. I thought it added "http://", but that doesn't account for all of your 9 characters. |
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 |
"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 ) |
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. |
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? |
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. |
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:
CORRECT:
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.
The text was updated successfully, but these errors were encountered: