seaofclouds / tweet

put twitter on your website with tweet, an unobtrusive javascript plugin for jquery
http://tweet.seaofclouds.com
MIT License
827 stars 218 forks source link

Expanding t.co shortened URLs #179

Closed steviewest closed 12 years ago

steviewest commented 12 years ago

As of 10 October 2011, twitter now shortens all URLs, regardless of length. Tweets show up on twitter.com with expanded URLs, but on our homepage using tweet.js they appear as t.co URLs.

I see that the twitter API allows expanding t.co URLs. I'd like to show them expanded with tweet.js. Is this a setting I've missing?

purcell commented 12 years ago

Good question - I'll take a look. There's no setting currently.

purcell commented 12 years ago

The various twitter APIs used by tweet.js all claim to be able to return info about the t.co URLs. However, many responses currently contain empty info about the URLs. Whatever the case, I've updated tweet.js to Do The Right Thing, and you can see some of the expanded URLs on the example page: http://tweet.seaofclouds.com/

-Steve