Last active
May 27, 2016 08:51
-
-
Save jeena/8a154b7f8f31fc832f9a701a2a7ea651 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1234567890123456789012345678901234567890123456789012345678901234567890123456789... http://blog.rust-lang.org/2016/05/26/Rust-1.9.html more at http://localhost:3000/notes/595 | |
[79 ][4 ][23 short url ][9 ][23 short url ] | |
79 + 4 + 23 + 9 + 23 = 138 | |
but I'm getting: | |
[{"code"=>186, "message"=>"Status is over 140 characters."}] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Replied to you on Twitter, but the calculation here should be:
79 + 4 + 23 + 9 + 31 = 146
The second URL http://localhost... will not be shortened by t.co, so the URL remains 31 characters long.
Checked using twitter-text https://github.com/twitter/twitter-text/