We don't offer any hooks via the API right now, but Tweet Entities ( http://dev.twitter.com/pages/tweet_entities ) will do much to aid you in the basics of identifying domains and (when possible) file extensions.
I recommend taking a look at http://embed.ly -- a third party service that makes it rather trivial to embed content from many popular & niche sites across the web. @episod <http://twitter.com/episod> - Taylor Singletary On Wed, Apr 6, 2011 at 5:01 AM, Floating Floating <cjmfl...@gmail.com>wrote: > What is the best way to pull media (photos, videos) inline? I started > writing some code to parse particular URLs, but I was wondering if Twitter > offered any API hooks into the parsing they already do to achieve this. > > Thanks! > > -- > Twitter developer documentation and resources: http://dev.twitter.com/doc > API updates via Twitter: http://twitter.com/twitterapi > Issues/Enhancements Tracker: > http://code.google.com/p/twitter-api/issues/list > Change your membership to this group: > http://groups.google.com/group/twitter-development-talk > -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk