AJAX Twitter plugin for Wordpress

image I have been working on a plugin which I had early posted on my personal blog. I have finished the Twitter plugin for Wordpress now and ready to release for public download.

This plugin is using the Twitter API to get and post the updates. You need to have a twitter account to post updates. I am sure now almost all the bloggers use twitter.

Features

  1. You can update your twitter status from your blog
  2. You can view and display public updates on your blog
  3. You can view and display your followers updates on your blog
  4. You can view and display your followers on your blog and increase your followers
  5. Simple installation
  6. Widget Ready, just need to enable to use
  7. Can you displayed anywhere on your blog, by just adding a simple code if you do not want to display using the widget
  8. Widget fully customisable, size, font, font size, colour, number of updates, number of followers, etc
  9. Enable and disable different features
  10. Regular Updates

Installation

Installation is very simple, just upload the unzipped files to the plugins directory and activate the plugin. If you wish to display on the sidebar, just go to the widgets option as shown below

image

Settings

After activating the plugin, just go to the setting link , you will find the Kish Twitter settings link

image

Once you go to the settings, you will find all the options to customize the view of the “Kish Twitter” Widget

image

Options Explained

  • Twitter Enabled – If you want this plugin to work, you need to check this option or nothing will be shown even if the plugin is activated
  • Enable Public Updates – You can enable or disable public updates on your widget
  • Enable Followers Say – By enabling this, you can display the messages from your followers on your widget
  • Enable Rel = nofollow – You can add rel tag by enabling this
  • Enable Follow Me- You can enable this to get your followers details
  • Twitter User Name – You need to enter your username and password for this plugin to work
  • Maximum Info Lines – The maximum number of updates that you want to show on your widget. You will need to set this according to the size of the widget.
  • Maximum Users- You need to set this to display the number of followers and the number of twitters you follow
  • Font- Family – Name of the font that you want to use for this widget, example a series of fonts or font name
  • Font Size – Font size of the widget
  • Message – You can display a message on the footer of the widget
  • After you make the changes, just save the options

You can display the widget anywhere on your blog by just adding the following to your blog template

<? if (function_exists('printKishTwitter')) printKishTwitter(); ?>

If you have a questions please post it here.

UPDATE – Please check the latest version of Twitter Wordpress Plugin – Kish Twitter

Download Now

Bookmark and Share

This post was written by:

Kishore Asokan.
About Kishore - I have been working on different online projects for some time now. Making money online is my biggest challenge and to some extend I have succeeded. Visit Kishore Asokan's website to find out more.. Read other articles writtern by Asokan Kishore

Kishore On Digg | Kishore On Twitter | Kishore On Facebook | Kishore On Stumbleupon

Wordpress Plugin For PAP

Related Posts

  • Wordpress plugin for Twitter
  • I have written a Wordpress plugin for...
  • Twitter Search and Related Tweets
  • I was playing with the Twitter Plugin...
  • My Projects
  • I have written few Wordpress Plugins which...
  • Some Wordpress Plugins You may like to use
  • Recently I was not doing any posts here...
  • Wordpress Plugin for Translation
  • I have written a plugin to offer...

    75 Responses to “AJAX Twitter plugin for Wordpress”

    1. Jeff A says:

      Can activate but that is it. No options page and no widget show up.

    2. Jeff A says:

      Found the problem, in this line you put in the wrong directory name.

      [code]include_once($root.'/wp-content/plugins/kishore-twitter/functions.php');[/code]

      change to;
      [code]include_once($root.'/wp-content/plugins/kish-twitter/functions.php');[/code]

    3. Jeff A says:

      sorry, that is from the file kish-twit.php for anyone who is trying to fix it.

    4. Jeff A says:

      And then it broke my sidebar when the widget was put in there. Oh well, it is still buggy and I don’t have the time to debug.

    5. Kishore says:

      Jeff – use the code to display the widget < ?php if (function_exists('printKishTwitter')) printKishTwitter(); ?>

    6. Kishore says:

      Jeff I have cleared the path problem, please download and overwrite the files

    7. vion says:

      once i install he widget,it broke my sidebar…

    8. Midcpro says:

      Thanks for all the work you’re doing on this plugin. Today’s update of the plugin installs fine, and I was able to add the widget.
      For some reason, it combined with my Recent Posts widget when I put the recent posts before Kish Twitter, and when I put Recent Posts AFTER Kish Twitter, It takes away all the themes styling of the widget. I’m using cutline, which is a pretty popular theme. Also, My tweets don’t show up, but I was able to add a tweet when that feature was enabled, so I figure I had the user/pass correct. Any ideas?

    9. Kishore says:

      -midcpro, it depends on the theme you use. I have tried on diffrent themes, some do have problems like this. try using the function to display on different location, it should work, can you try putting the widget on the left sidebar
      -vion – Its again compatiblity problem with the theme design, I will update with a fix for this

    10. Kevin W. says:

      good article, very useful.

    11. Fred says:

      Kishore, I use the Revolution Template and would like to use your twitter in a category of it’s own, in fact would like to do the same as you did on this blog. What are the steps I would need to take to get a page up like yours.

    12. Will says:

      I’m using the php_exec plugin to place your Twitter plugin into a page on my WP site, but it is screwing with my footer and sidebar. It floats my footer to the left of the screen and my sidebar to the right. Any idea what is causing this or what (if anything) I can do to fix it?

      Other than that it seems like an awesome plugin … but it would be awesome to get this fixed. Thanks!

    13. Salem says:

      I am currently using your plugin, which I have come to like. There are a few things that bother me, however. Is it possible to change the color of the buttons’ text so that it displays in black, while keeping all the other text white?
      look at my website (technoheads.org) to see what i mean. I have a dark background, so only a light font really works.

      • Kishore says:

        Salem – you can modify the colors in the CSS function
        #twitter {
        font-family:"< ?php echo get_option('kish_twitter_ffam'); ?>";
        font-size:< ?php echo get_option('kish_twitter_fsize'); ?>px;
        height:< ?php echo get_option('kish_twitter_height')+10; ?>px;
        color:#FFFFFF;
        overflow:auto;
        }

        Change it to white with #FFFFFF;

    14. Davd says:

      When I use the code in my template code it just makes everything after the code disappear. I’ve also tried using it as a sidebar widget but after adding it to my sidebar it doesn’t appear and also, strangely, even though my widget manager says I have three widgets active in sidebar 1, I can’t see the Kish Twitter widget and have to deactivate it in the plugins to remove it from my widgets. I’m using the Revolution theme and can’t figure out what I’m doing wrong.

      David

    15. Diogo says:

      Hi, got a bunch of errors when using your plugin as a widget. They all seem to be related to the simplexml_load_string() function. Any idea?

      here’s on of the errors..

      Warning: simplexml_load_string() [function.simplexml-load-string]: Entity: line 1: parser error : Space required after the Public Identifier in /home/aventureiro/public_html/wp-content/plugins/kish-twitter/twitter_api.php on line 470

    16. d. says:

      I really like the look of this plugin in. In particular, i like your twitter page, which I have attempted to mimic. Unfortunately when I activate your plugin on my page (or as a widget) it does not show, and also prevents any further content on my page from showing (and indeed once the widget is added to my sidebar I cannot remove it again, so had to disable your plugin for the time being).

      Is this likely to have something to do with the theme I am using (veryplaintxt), or the version of wordpress (I am yet to update to the latest version). Or do you have a known bug that may be causing this?

      Thanks.

      • Kishore says:

        This plugin works only on PHP 5 version,with curl library. Please check if your server complies with this.

      • d. says:

        Okay, further to this…

        I now have PHP 5 installed, and the curl library, and I can get the plugin to display on the page, by creating a template page that contains it. So far so good, except it now does not show my tweets. Looking at the generated source each tweet contains the following code:

        |

        d.

        • d. says:

          The comments do try to parse the HTML, so hopefully entities will work…

          <div class = “kish_tweet_posts”><img src =”"><a href =”"> </a> |

        • d. says:

          Just in case it helps anyone else…

          Turns out that the curl request was being sent with an Expect: 100-continue header, and the server was barfing at this… I assume this is a local setting, otherwise it would not work for others, but for for the record, setting the following line…

          curl_setopt($ch, CURLOPT_HTTPHEADER, array( ‘Expect:’ ) );

          along with your other curl options appears to fix things for me.

          There is also a small error in the code to link to the twitter url in the bottom right corner… the link shoud read:

          <a href =\”.$twhomepage. \”target = \”_blank\” >

          Thanks for the plugin. :P

    17. Andy says:

      your site keeps redirecting to the yellowpages.com, it makes it hard to follow the directions and download the plugin.

    18. Stuart says:

      Hi,
      I am trying to set this plugin up for a customer but I keep getting:

      wordpress/wp-content/plugins/kish-twitter/twitter_api.php on line 29

      Have checked username / password etc. Can you point me in the right direction please?

      Thanks

      • Kishore says:

        Stuart – You have to give your username and password correctly. What is the exact error coming. Which version of PHP are you using. Does your server support CURL library?

        • Stuart says:

          Hi Kishore,

          I am running PHP4 (but PHP5 is availible should I need that), and the cURL option is running.

          The username and password are correct, I have even changed the password to ensure that was correct.

    19. I am confident I have typed the correct user and password. I get the following error. I created the twitter account about 1 hr ago.

      Invalid username/passwordStatus UpdatedInvalid username/passwordmissionalassoc’s Updates

    20. Tom says:

      Is this code to get the box to appear?

      No luck yet.
      Thanks.
      Tom Russell

    21. chris says:

      it was working alright till today it suddenly read “Fatal error: Cannot redeclare class Snoopy in /home/xxx/public_html/wp-content/plugins/kish-twitter/extlib/Snoopy.class.inc on line 39

      How to fix it please?

    22. Murad says:

      Hi,
      It is a cool Plugin. But it is not working properly in my blog!!
      It is not showing any update in the blogpost or sidebar either :(

      Username and password is ok because I can update my tweets via this plugin from my blog.

      Can you plz take a look in this page and Give me a solution??

      http://www.mydreamtech.com/bugatti-royale-coming-to-frankfurt.html

      Thanks in Advance!

    23. Fred says:

      Hi Kishore, I opened twitter from my blog and found that it showed a blank page. I pulled up your page and your twitter page on your blog is showing the same as mine. Can you help me with this?

      Fred

    24. machima says:

      thank for share

    25. Marcel says:

      I just installed the Kish Twitter plugin, but the twitter messages aren’t displayed and also the images before the twitter messages aren’t loaded. I am able to post messages, but they just won;t apear in the plugin

    26. mssmotorrd says:

      It’s the first time I commented here and I must say you share us genuine, and quality information for bloggers! Good job.
      p.s. You have a very good template for your blog. Where did you find it?

    27. Nick says:

      I would love to know if it would be possible to have an option to such that there are more than two outputs.. let me explain.

      I will be using your plugin as a related tweets on each of our blog posts..

      But on our sidebar we would just like to implement a widget that shows all tweets that contain, @filipinovoices, so that we know who has replied to our tweets.. or has addressed @filipinovoices, if possible, if there are multiple search terms allowed.. i.e. for our widget we would show tweets that have “FV”, “@filipinovoices”, “filipinovoices” so that all bases are covered..

      This is an option I think many are looking for.. thank you so much for this great plugin

    28. thats great that you are talking about the twitter api,a good example of searching with the twitter api is on twiogle.com because you can search on twitter and google at the same time.

    29. Hi Kishore
      I have the same problem with the display of twitts. You can see it here: http://onethatknows.com/cyberia/
      Is there a solution for that?

    30. Mark says:

      Hi there Kishore,

      Like Omer, I’m also having the same problem with the display of twitts. It’s on my testing server but is exactly the same problem as Omer’s website: http://onethatknows.com

    31. Josh says:

      I just spend all night trying to set this up. it’s not accepting my user/password.. but I see you are working on an update :) I’m currently using it for the related tweets function which is pretty bad ass just by itself. Great tool! thanks fir all the cool plugins!

    Trackbacks/Pingbacks

    1. [...] Customizable Ajax Twitter Plugin for Wordpress that auto refreshes Filed Under (Wordpress) by Mani Karthik on 02-10-2008 A complete customizable, slick twitter plugin that auto refreshes without page reload. If that’s what you’ve been looking for then head over to Kishore Asokan’s blog. He has released a Wordpress plugin that does just that. [...]

    2. [...] A complete customizable, slick twitter plugin that auto refreshes without page reload. If that’s what you’ve been looking for then head over to Kishore Asokan’s blog. He has released a Wordpress plugin that does just that. [...]

    3. [...] a lot. There are many tools which can be used to receive and send updates. I have also written an Ajax based twitter plugin for Wordpress which can be used to update your status, view your followers, view whom you are [...]

    4. [...] Canvas theme for Photo Blogs – Black Canvas is an excellent theme for a photo blo .. My Latest Twitter Updates @problogger AJAX Twitter plugin for Wordpress http://tinyurl.com/dgtqjv | Mon Mar 23 16:22:30 +0000 [...]


    Leave a Reply

    Free Home Jobs

    Affiliate Panel Login | New Members Sign-up

    Login to this Blog


    My Flickr Photos - See all photos