On Thu, Dec 03, 2009 at 03:37:51AM -0800, yegle wrote:
> But I still want to know what regex twitter is used to recognize
> @username ,
> because the regex used to recognize @username in dabr doesn't work
> exactly same as twitter.com.

You mean the list that appears when you click the @yegle link on your
twitter.com homepage?  I'm pretty sure that's not a regex at all.  Try
the statuses/mentions API method
(http://apiwiki.twitter.com/Twitter-REST-API-Method%3A-statuses-mentions)
to retrieve that list.  If you're implementing your own search through a
local database of tweets, my first thought to emulate this would be to
check the tweets' in_reply_to_user_id properties.

-- 
Dave Sherohman

Reply via email to