DISCLAIMER: The Twitter REST API v1 is no longer active.
You can show how many tweets you want with this updated code, instead of just the last one. Another improvement is the session-based cache to speed things up.
UPDATE: Due to charset compatibility I switched from regular expressions to
json_decode function. It also makes the code smaller. Continue reading “Displaying your latest Twitter entries”