Posting Your Latest Tweet in WordPress

Although I posted yesterday how to add your latest tweet to WordPress without a plugin, I made several changes to the script before I posted it to make it more “generic” and re-usable. Since I’ve changed it quite a bit, I decided to repost it. This new script also autolinks @usernames and #hash tags.

Directions are this easy: set the path of $tw_File with a static, writable file.  Set $tw_userid to your Twitter user id.  Done. 

Download firsttube.com “get latest tweet” php snippet.

5 thoughts on “Posting Your Latest Tweet in WordPress

  1. Pingback: Posts about Twitter Plugins as of February 20, 2009 | The Lessnau Lounge

  2. Hi. I’m trying to implement this code into my WordPress and having a little trouble. Can you tell me exactly how to “set the path of $tw_File with a static, writable file”?

  3. Pingback: How to Add Latest Tweet to Wordpress Without a Plugin | firsttube.com

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="" highlight="">