How to get Twitter Status with links

Found this gorgeous function to get the last Twitter Update from a user.

Features

  • It prints the links inside the tweets.
  • Also puts a link on a @user reply tweets

Code

Tags:

3 Responses to “How to get Twitter Status with links”

  1. JMLeon July 22, 2010 at 2:22 am #

    Nice trick, adding it to delicious.

  2. quicoto July 22, 2010 at 8:22 am #

    I had some codification problems. I added the iconv function in the return:

    [code]
    return iconv("ISO-8859-1", "UTF-8", $ret);
    [/code]

Leave a Reply

Add <code> Some Code </code> by using this tags.