jeremiahlee/twitter-text-js — comment on commit 5edc11799ccb0b57f0e095c23ad1662d2b750e37
File:  line 0
By tommoor:

I was looking for something like this myself, I think however this requires a call to the twitter API to get the length of a t.co link - which is subject to change.