WP My Twitter Plugin

The WP My Twitter Plugin syndicates your Twitter tweets to your Wordpress powered blog. The plugin works in templates, with shortcode, or as a Widget.

Download

Installation:

  1. Download the zip file and extract the twitter.php file.
  2. Upload twitter.php to your Wordpress plugins folder.
  3. Login to the Wordpress admin area and activate the plugin.
  4. Browse to Wordpress Settings and then the WP My Twitter tab. Enter your Twitter username and password and click update

Displaying your Tweets:

As a Sidebar Widget (Requires Wordpress 2.3+ and a Widget-ready Theme)

  1. Login to the Wordpress admin area and browse to the Appearance Tab
  2. Browse to the Widgets Tab and Enable WP My Twitter

In Posts/Pages with Shortcode (Wordpress 2.5+)

  • When writing or editing a page or post, insert the code [WPMyTwitter] to display your recent tweets.
  • Optionally specifiy the number of tweets you want to display. Defaults to 5.
  • Ex: [WPMyTwitter Count="10"]

In Your Theme:

  • Insert the following code where you want your Twitter feed to appear in your blog template:
    <?php WPTwitter_GetTweets(); ?>
  • Optionally pass a Count to set the max number of tweets to display. Defaults to 5.
  • Ex: <?php WPTwitter_GetTweets(10); ?> 

Requirements:

  1. Wordpress 2.x+
  2. PHP 5+
  3. PHP CURL support (to connect to Twitter)
  4. A Twitter Account

Tags: , ,
Posted in: wordpress

Comments: 10

  1. Wordpress Twitter Plugins - 50 Best Twitter Plugins for Wordpress | Wordpress Jedi Says:

    [...] WP My Twitter: post your blog posts to Twitter automatically. [...]

  2. Dirk Says:

    Is it possible to change the style (font, size and more) of the twitterlisting when I embed the plug in pages or posts?

  3. admin Says:

    Yes, you can place the plugin code in a div and style the list or links based on that. Ex:

    <div id="tweets">[WPMyTwitter]</div>

    or

    <div id="tweets"><?php WPTwitter_GetTweets(); ?></div>

    Then you can style it in your stylesheet like so:

    <style>
    #tweets li {
    padding-bottom: 4px;
    padding-top: 4px;
    border-bottom: 1px solid #808080;
    background-color: #FFFFFF;
    }
    #tweets li:hover {
    background-color: #F0F0F0;
    }
    </style>

  4. Ian Says:

    Hi,

    I started using your plug-in, thank you… its just what I was looking for.

    However, a couple things… I’m finding that when it is activated, in firefox the page always seems to be loading, it never finishes loading completely saying “done.” I think its stuck something about your plug-in is causing the feed to stay open, or its polling? I dunno… Seems fine in IE and Chrome, but with firefox, its annoying. Any ideas?

  5. admin Says:

    The cause of the page never finishing loading is from external elements like images or Javascript (common). The Twitter plugin is all on the backend, so if the page has been sent to the browser, the plugin is already done processing.

  6. ian Says:

    Hi, I’m having issues with your plug-in not honoring the Count, nor the default of 5. Right now I have this in my code:

    and it just displays all of them? ? ?

  7. Luke Says:

    This seems like a good plugin, but I’m not sure I understand why when I change the number of displayed tweets to 1 (from the default of 10 or whatever) that it doesn’t automatically update and display the latest tweet. Any ideas? Appreciate your development efforts.

  8. Phillip Says:

    I’ve implemented this on a site I did and it does not seem to be auto-updating. It works, and updates fine when I click the button, but it’s not updating regularly.

    Any help?

  9. admin Says:

    The update button refers to updating the settings, not updating the feed. The feed should automatically update every 40 minutes per Twitter’s suggested update timing.

  10. Phillip Says:

    When I update the settings it’s updating the Tweets, but not in between that. I’ve been unable to sort out what is going on.

    here’s a link:
    http://www.cheriejobe.com

Write a Comment