The answer will depend on the language you're working with, but generally it will involve using a regular expression to detect and extract the URL.
If you're using Ruby, you're in luck because Twitter has released its own text processing code to the community: http://github.com/mzsanford/twitter-text-rb You'll want to use the extract_urls method in lib/extractor.rb or one of the methods in lib/autolink.rb. If you're not using Ruby you might peek at lib/regex.rb, which contains all of the regular expressions used to detect URLs, and it wouldn't be difficult to copy them over into whatever language you're using. Jordan Running On Thu, Feb 25, 2010 at 12:11 AM, sivakrishna59 < sivakrishna.motama...@gmail.com> wrote: > Hi to All, > > How can i get the links with in the tweet, thru my api connect from > ruby on rails application. > > For ex: somthing like that in you tube but watch it again no prob > means ok take care of url after view > http://www.youtube.com/user/NyrosTechnologies > > in that , i would like to get "href" info text separately from the > tweet, for example > > <a href=" http://www.youtube.com/user/NyrosTechnologies"> > http://www.youtube.com/user/NyrosTechnologies </a> > > in this way. > > Thanks in Advance > > Siva Krishna >