Matt Danner
  • Blog
  • Contact
  • Twitter
  • Instagram
 June 22, 2010

Latest Tweet Plugin Now on WP Extend

***UPDATE***
This plugin no longer works. In June of 2013, Twitter decided to change their API and make grabbing a single tweet from a user very complicated. Because of this, the code for this plugin is useless. Don’t use it!

In an earlier post I showed how to get your latest tweet on your site without a plugin. It has been an extremely popular post, but for some folks. it was just over their head. I have had quite a few people email me asking to make a simple plugin to accomplish the same task, so that is what I did. I pretty much had all the code already, I just needed to wrap it nicely in to a plugin.

It is called PB-Tweet, and you can download it now on Extend. PB is for PluginBuddy in case you live under a rock.

So download it, test it out, and please let me know what you think. If you like it, please post a link to your site that is using it in the comments of this post.

3 Comments
Categories : Blog, WordPress
← Next Post
Previous Post →

Comments

  1. patrick says:
    September 6, 2010 at 5:04 am

    Awesome plugin!
    I was only wondering how can you make
    your own @username also clickable?

    I hope you can help me out.

    Thanks in advance.
    Patrick

    Reply
    • Matt says:
      September 13, 2010 at 11:12 am

      Patrick –

      You will have to dig in to the code a bit to do that. If you feel comfortable with it, open the tweetbuddy.php file and go to line 77.

      Change it to this:

      $prefix = "<b style='font-style:italic; vertical-align:top;'><a href='http://twitter.com/" . $username . "'>@{$this->_options['twitter_id']}: </a></b>";

      That should do the trick.

      -matt

      Reply
  2. patrick says:
    September 13, 2010 at 2:11 pm

    Hello Matt,

    You’re a true hero!

    Thnx
    Patrick.

    Reply

Leave a Reply Cancel reply

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

The Internet Home of Matt Danner Copyright © 2021
iThemes Builder by iThemes