NEW ADDRESS: http://anwanore.com/projects/mytwitter — The plugin has a new address at a project page I created exclusively for the MyTwitter for Wordpress plugin
Plugin: MyTwitter
Current Version: 1.5 (Updated February 10, 2008)
Download (Zip) (from official Wordpress Plugins site)
Download (Zip) (from my server)
Note: Only download from sites you trust. I’ve seen a few illegitimate spam sites popping up with ripped-off copies of the text and files with no attribution.
About: MyTwitter allows users to display their Twitter status updates (tweets) on their Wordpress blog and update their status through the Options page. Includes customization options including number of recent twitters to display, formatting options, and stylesheets. It can be called as a function or used as a widget.
MyTwitter @ Twitter: http://twitter.com/MyTwitt3r
Please see the new project page for MyTwitter for installation assistance and to leave any comments about the plugin.

This is Ryan from the SimplePie project. I think this plugin looks cool, and I’ve added it to the SimplePie Plugins page in our wiki.
http://simplepie.org/wiki/plugins/wordpress/mytwitter
[...] fixes and everything about blogging, especially with Wordpress. Go ahead, subscribe to our feed!MyTwitter allows users to display their recent Twitters on their Wordpress [...]
[...] MyTwitter allows users to display their recent Twitters on their Wordpress site. [...]
Perhaps I didn’t set it up right, but I get the message “Error: unable to access Twitter feed for user virushead.”
Is there someplace to enter your password or something like that?
this plugin looks good to me! I will check it out.
Virushead: The error displays if there’s any trouble accessing the Twitter feed that has your recent twitter updates. Try refreshing your site and see if it goes away. If you keep having trouble, please leave another comment and I’ll check on it.
As for the password, it doesn’t need one. However, if you’ve got your Twitter set to not display to public users, it probably won’t be able to show the information. I’ll take this into consideration for a future version.
The twitter content can show in my side bar.
But, above the content, there are message like:
Warning: /home/18309/domains/blog.nicholasmusic.com/html/cache/9e96b18619908620e5a4760a5a19f212.spc is not writeable in /home/18309/domains/blog.nicholasmusic.com/html/wp-content/plugins/mytwitter/simplepie.inc on line 1623
How can I resolve this?
it seems I need to create a folder named cache under root of wordpress, right?
Sorry, yes, forgot to mention that SimplePie needs write access to /cache/ in the root directory for some of its work with the twitter feed. I’ve updated the installation directions in the post here.
This plugin is good. It’s working for me but it has a little error. The dates in my twits are all “Dec. 31, 1969″ as viewed from the entries generated by the plugin to my webpage. But when I view my Twitter page, the dates are correct anyway. What might be the problem?
I’ll check to see if I can regenerate the error with the date and find out how to fix it. If anyone has a page that’s currently displaying the wrong date, give me a link so I can take a look at it. Thanks.
mine’s showing the wrong dates also. http://www.littleinteractive.com/blog/
Ok, thanks for the example, I’ll check to see what’s going on. Hopefully just need to fix a small piece of the code.
Please notice the MyTwitter update to 1.01 which fixes problems with the date displaying December 31st, 1969 on servers using PHP 4. If you continue to notice the problem once you’ve updated, please let me know. I also updated the documentation to make it more obvious what needs done with the /cache directory.
thanks for the update!
[...] Anwanore’s Widget – Allows you to post several of your latest tweets into your blog and you can put it anywhere by calling a php function from within your template. The author is working on future enhancements such as an optional avatar display. [...]
Ive patched MyTwitter to work with the new widgets supported in the newer WordPress versions. See here:
http://www.switchingtomacosx.org/2007/11/15/mytwitter-patch/
[...] MyTwitter.This plugin enables you to display your twitter statistics on your blog – live! [...]
[...] soll, aber irgendwie hat mich das Fieber dann jetzt doch angesteckt. Ich nutze hier übrigens das MyTwitter Plugin für Wordpress. War eigentlich recht einfach zu installieren. Wem die letzten Sätze jetzt alles nix sagen, der [...]
Hi,
This is a great plugin, I use it on my blog, since upgrading to version 1.3, I have had the following error, can you help? The twitters display, but the error messge is above them.
Warning: /var/www/vhosts/flyingkiwis.co.nz/httpdocs/cache/ff8043ca3260fb410e97ecc97829801c.spc is not writeable in /var/www/vhosts/flyingkiwis.co.nz/httpdocs/wp-content/plugins/mytwitter/simplepie.inc on line 1623
Thanks
Dawn
Dawn — it means the cache folder (in your case located at /var/www/vhosts/flyingkiwis.co.nz/httpdocs/cache/) that the SimplePie part of the plugin uses is not writable. You need to set the permissions for the folder to 755. You can do this in most good FTP programs (in Filezilla, right-click the folder, select File Attributes, and put 755 in the Numeric Value field) or if you have shell access to your server you can go to cache’s parent folder and type “chmod 755 cache/”.
Worked perfectly, thanks!
Hey I just tried to install your plugin v1.3 but WP complains “Plugin could not be activated because it triggered a fatal error.” … I customized my cache location and confirmed it has right perms. thoughts?
Adrien — did this happen on multiple attempts? Were you upgrading from an old version of the plugin? I haven’t seen this happen before so if you can tell me anything more that would be helpful. Thanks.
I had just upgraded to WP 2.3.1 and decided to try your plugin. I had downloaded v1.02 and installed it. the plugin page said a new version was available, so I went ahead and re-downloaded. modified mytwitter/mytwitter.php to use same cache as wp-cache, as follows:
$cacheloc = ABSPATH . “wp-content/cache”;
after uploading modified version, I try activating. First try, WP gives me nice yellow fade alert and the dreaded message “Plugin could not be activated because it triggered a fatal error.â€.
After that I tried de-activating wp-cache, and then activating MyTwitter. When I do that I get a blank page, looks like apache crashed. It’s a shared environment so I don’t have access to log files :_(
Adrien — as far as I can tell it’s just a problem with the way you’re using ABSPATH to set the value for $cacheloc. For now, you could change the value of $cacheloc to the exact path for wordpress (e.g. “/home/adrien/wp-content/cache”). Or you can edit the following lines (as I’ll be doing for the next udpate). I’ll be changing the code on line 53 to the following:
define(“CACHELOC”, “/cache”);
Or, in your case, you’d want to use:
define(“CACHELOC”, ABSPATH . “wp-content/cache”);
And you’ll also want to update line 70 to:
$feed = new SimplePie($my_twitter_feed_url, CACHELOC);
Watch out for those curly-quotes… if you copy and paste it you’ll want to make sure they’re just normal quote signs.
Erundur: nope, still same “Plugin could not be activated because it triggered a fatal error.” :-(
Erundur, I am having the same problem as virushead. I get the “Error: unable to access Twitter feed for user zhiwiller” message. I upgraded to the newest versions of wordpress and your plugin. I created a cache folder at my site root. But I’m still getting the error. I’m not quite sure what to try from here and would appreciate the help. Thanks!
Hello!
I installed “MyTwitter” (with WordPress), but I had a problem.
When I put the code
at my sidebar, appears the message:
Error: unable to access Twitter feed for user evelyngomes.
How can I solve this?
Thank you.
Hmm… followed the directions for install, but when I clicked “activate” it went right to the error:
Fatal error: Call to undefined function: register_sidebar_widget() in /home/chazzus/public_html/wp-content/plugins/mytwitter/mytwitter.php on line 107
Which is showing up on ALL pages, public blog and wp-admin alike. This is on WP 2.1.2 with a widget-less theme… I’ll check back after a little troubleshooing (and food).
Ok, dinner went a bit longer than I expected. Anyways, the fix in my case was to comment out line 107 in mytwitter.php:
register_sidebar_widget('MyTwitter', 'widget_mytwitter', null, 'mytwitter');Other than that little issue it’s working great! Thanks for making a good WP plug, the Twitter JS makes IE angry… :)
[...] like my theme for some reason (it makes IE angry). Fortunately, Erundur Anwamehtar wrote this great little plugin that works just perfect for my needs after a little tweaking. It also came with the nice treat of [...]
@Eve: I tested it out on your username and the feed itself seems to work fine. Make sure you’ve got all the files for the plugin in the right location and have setup the cache folder in the root directory of your server and made it writable.
@Chazz: widget capability is only included built-in for Wordpress 2.2 and newer. I’d recommend upgrading to Wordpress 2.3.1 if you’re able to, otherwise you can simply comment out the portions of the code that deal with widgets.
Thank you.
I tried again and nothing.
What did you put? The code that is displayed here?
Thank you again.
[...] read this entry, you’re reading the new and updated blog. Thanks to the MyTwitter plugin by Erundur Anwamehtar, my latest tweet now appears in the top right corner of each [...]
[...] Visit [...]
I’ve just tried to activate and it caused a fatal error in 2.3.2 —just so you know.
Hi, there was a small bug – if you do a reply that’s like “@username, something something”, it will add the coma to the username when making the link. I’ve made a diff with my changes, hope they’re useful :)
http://vasil.ludost.net/progs/mytwitter.diff
@Vasil: Thanks, I’ll incorporate that into the next version.
[...] Twitter plugin lets you include your recent tweets from Twitter directly into your blog. While this isn’t [...]
[...] out MyTwitter for [...]
[...] Plugin Homepage [...]
[...] MyTwitter [...]
[...] Twitter plugin untuk [...]
[...] MyTwitter Wordpress Plugin – allows users to display their recent Twitters on their Wordpress site. Includes customization options including number of recent twitters to display and formatting options. [...]
[...] MyTwitter – This is a Wordpress plugin that makes it easy to display your latest Twitter status updates on your blog. [...]
[...] Twitter plugin lets you include your recent tweets from Twitter directly into your blog. While this isn’t [...]
[...] the MyTwitter widget but couldn’t get it to work. I guess it’s due to the Wordpress software, but [...]
[...] Anwanore’s Widget allows you to post latest tweets into your blog. [...]
[...] 以å‰ã¯My Twitterを使ã£ã¦ã„ãŸãŒãªã‚“ã¨ãªã以å‰ä½¿ã£ã¦ã„ãŸã“ã¡ã‚‰ã«æˆ»ã—ãŸã€‚ [...]
[...] MyTwitter – If you use Wordpress for your blog, you’re probably going to want to add your Twitter status [...]