> 2) Twitter now shortens all URLs using their t.co shortener, even if
> the URL is already shorter than what the t.co URL would be. Knowing
> that the URL will be shortened on Twitter's end, is it possible to
> adjust the character limit to take that into account? (Of course I
> don't know the Twitter API so I don't know if it would take a >140
> character post with a long URL and I don't know if there's an API call
> to find out how long the t.co URL would be...) On a related note, is
> it possible to auto-resolve the t.co URL similar to how the website/
> official client does?
Firstly, Chromed Bird has not opted into t.co (AFAIK), therefore, links
shorter than the t.co link length will not be shortened... yet.
Of course, there is an API call to check the t.co link length (sort of).
You fetch a JSON file describing t.co links, then check the maximum
link length. You then assume all links either that length or longer will be
exactly that length. There's a t.co FAQ for developers somewhere,
but I can't access Twitter and company from work, so I can't get a link.
This information is only off the top of my head, feel free to prove me wrong.