Using regular expressions you can extract the username from a twitter URL. var twitterURL = item.link; var twitterName = twitterURL.match(/https?:\/\/(www\.)?twitter\.com\/(#!\/)?@?([^\/]*)/)[3];
Post navigation
previous post
A lesson for life, spanning a generation.
next post
Should vs Could. Deadlines, Budget and the Small Dev Team
- Posted in
Only have Sysomos tweet context? Extract username from URL.
- Posted byby John Steinmetz
- 1 min
This is an interesting little script. I am not sure of it’s cross browser functionality. In the next few years, you will see lots of this feature on sites and…
Establishing communication for applications can be done a number of ways. Historically, it is done via sessions and cookies. While this is adequate for most of todays needs, there is…

