Twitter Text autolinking and extraction for URLs, usernames, lists, and hashtags
Just integrating twitter into a client website. In the past I've just done some custom stuff and mixed in the standard auto_link helper. Discovered today this handy gem, and yes I know I'm probably late to the party.
https://github.com/twitter/twitter-text-rb/
Even better it appears that Twitter have the library for several different languages.
Written by John Polling
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Gem
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#