Howdy. Twitter changed the search format, which means my php twitter script wasn’t working correctly. I finally took the time to remedy that tonight. Here’s the updated source code:

', $content);
        $content = explode('', $content[1]);
        return html_entity_decode($content[0]);
    }
    $my_tweet = get_latest_tweet('Username');
    if ($my_tweet != NULL)
        {

            echo "$my_tweet";
        }
    else {
        echo "Twitter is having issues again . . . .";
        }

    ?>

You can reference my old blog post if you want to know more how it works. For the copy/paste types: make sure you cange “Username” on line 20 to your twitter ID.