Detecting links


#1

I’m creating a tool that sends tweets. I have added a caracter count, but how do I detect URL, that are going to be shortened with t.co ?

I know that twitter gives us the code to detect hashtags, is the code to detect URLs somewhere as well ?


#2