2008-04-20

Set Your Latest Twitter Tweet as Pidgin Status.

by Anoop Engineer 24 comments





If you have been an internet user for quite some time, you probably have heard about Twitter. "Twitter is another name for micro blogging". We had earlier helped you how to explain Twitter to your mom. Remember?

Twitter is too simple. You sign up, you tell what you are currently doing (known as tweeting), and you follow other interesting people's tweets.

And if you have been an internet user for quite some time, you probably have heard about Pidgin also.

Pidgin is an instant messaging program for Windows, Linux, BSD, and other Unixes. You can talk to your friends using AIM, ICQ, Jabber/XMPP, MSN Messenger, Yahoo!, Bonjour, Gadu-Gadu, IRC, Novell GroupWise Messenger, QQ, Lotus Sametime, SILC, SIMPLE, MySpaceIM, and Zephyr.
Pidgin runs on a number of platforms, including Windows, Linux, and other UNIX operating systems.


So, instead of running gTalk, Yahoo Messenger and MSN Messenger separately, you can have everything-in-one using Pidgin.

Now let's come to the main area of this post. Pidgin, like all IM clients allow you to set a status message - something like "I am currently busy" or "Checking out great tips from DailyGyan". Hey! wait. That's exactly what Twitter is for, right? Wouldn't it be cool if I can update my twitter status alone and then Pidgin retrieves and sets my tweet as the IM status automatically? Yes, it would be very cool and that's what we are going to do today.
  1. Install Pidgin from here.
  2. You need to have Perl installed for this to work. Most Linux distros come with Perl preinstalled. Windows users, download and install Perl from here.
  3. Take a Command Prompt/Terminal and enter: perl -MCPAN -e shell (Linux users, add a sudo before this). In the CPAN prompt that you got now, enter install XML::XPath and hit enter. This will download and install the Xpath module from Internet.
  4. If all goes well, launch Pidgin. Go to Help -> About and scroll to the bottom of the page. You should see a line : Perl: Enabled.
  5. Download twitter.pl from http://code.google.com/p/pidgin-twitterstatus/downloads/list and put it into your Pidgin plugins folder. Usually the plugins folder is C:\Program Files\pidgin\plugins for Windows users and ~/.purple/plugins for Linux users.
  6. Once you have put the file in place, restart Pidgin and go to Tools -> Plugins. There will be a new plugin named "Twitter Status Feed". Enable it and click on Configure Plugin. Enter your twitter user name in the dialog box that pops up.
  7. Done. Soon you will find that your Pidgin status bar reads the same as your last Twitted message.



What other tips have you found about Twitter and Pidgin. Share it in the comments.

Happy Twittering.

Comments 24 comments
Ben said...

I had trouble getting Perl enabled in Pidgin 2.4.1, because i'd downloaded ActivePerl 5.10 instead of ActivePerl 5.8. After reinstalling ActivePerl with the slightly older version, all was well!

Anoop Engineer said...

Ben,
Thanks for the input. Pidgin 2.4.1 seems to have some issues with Perl 5.10 in Windows.

See this link: http://developer.pidgin.im/wiki/BuildingWinPidgin#Perl5.8

Unless the bug discussed there is solved, you will have to use Perl 5.8 in Windows.

ale said...

I would point out I had to install nmake (on winxp) in the perl directory (e.g.: c:\perl\) to able to compile XML::XPath.

roslan said...

hi anoop,

On lInux ,
i have tried wht you told/write here .Perl enable , download twitter.pl ,locate .purple folder.

Unfortunately there is no plugins folder in that , so i create one .Put twitter.pl in that .

Restart Pidgin , locate my plugins under TOOLS , unfotunately no new plugins found ..

Did i miss something here ?

pidding 2.4.1 on ubuntu.

Thnx.

Dave Lowe said...

I am having the same issue... it's not in the list of available plugins. Using Debian Sid, Pidgin 2.4.3

Dave Lowe said...

Anyone? Bueller... Bueller... Bueller...

Anoop Engineer said...

@Dave Lowe
No idea why it's so friend.
Will let you know it I found the reason. :(

Dave Lowe said...

Outstanding... :) I tried putting the plugin code in several places, and no joy. I even placed it in /usr/lib/purple-2 where Debian stuck a bunch of other plugins I installed as a package. Nope.

So ~/.purple/plugins did not work, neither did /etc/purple/plugins (where I also found plugins!)

So maybe there is something we can do?

Dave Lowe said...

Or not... (groan)

Dave Lowe said...

yeah, thought so... I guess I am back to google 10 days after....

Rathel said...

I actually got this working under Ubuntu, kind of, it wasn't working for me earlier, because I wasn't installing XML::XPath with sudo, that solved my issue. But it doesn't seem to update my status though, when it does the it only lasts for a few seconds and reverts to not having a status.

Anonymous said...

I followed the directions exactly and it works flawlessly. Thanks!

Anonymous said...

Only problem is - it also updates your status with your replies to other peoples tweets as well. Sorta a deal breaker.

Rick said...

I installed ActivePerl 5.8.8 Build 824 (as opposed to 5.10) on Windows and installed NMake as advised in the posts above, but Perl is still listed as disabled in Pidgin. Any ideas?

I really only see Twitter as a glorified status update, so I'd really love these to all be in sync. This plugin would be perfect :C

Rick said...

I figured it out, thanks to http://code.google.com/p/pidgin-twitter-profile/wiki/HowToInstall

Key here was this bit: You should install version 5.10 (x86) unless you have a Pidgin version less than 2.5.0 and are on Windows: then you should install Perl 5.8 (x86). It is important that you install the x86 (32-bit) version because the x64 (64-bit) version will not work with Pidgin, which is 32-bit.

Since I was on Pidgin 2.5.1, I had to have Perl 5.10.

Zach Dwiel said...

same problem as others with Ubuntu 8.04 and Pidgin 2.5.0 I've got the file in /usr/lib/pidgin and in ~/.purple/pidgin/plugins and it does not show up in the plugin list. I had to create the plugins folder in ~/.purple/pidgin folder

micah said...

FYI. On Windows XP, Pidgin 2.5.2 - ActivePerl 5.10 - TwitterStatus v 0.3.0

Run 'ppm' from windows command line, then click "show all modules" and install TimeDate as well as XML::XPath using the gui. For some reason I couldn't get them to install correctly via CPAN.

--Micah Morton

jrising said...

Thank you micah! That was the trick I needed.

mazenovi said...

This tips is working for vista system too ... Thanks a lot
Pidgin 2.5.5 - ActivePerl 5.10 - TwitterStatus v 0.4.0

Corey said...

Also have a guide over a my site.

Megalomaniac said...

Had trouble installing XML:Xpath as mentioned here. Got some make error.

But "ppm install TimeDate" & "ppm install XML-XPath" did the trick on Vista...On XP i am still having the trouble...

R Srijith said...

Hi , I have created a perl plugin for pidgin that automatically replies when you are away. It can be modified for this

Anonymous said...

Exactly what i was looking for .
Your instructions were accurate.

Tag Heuer replica watches said...

Thank you micah! That was the trick I needed.

Post a Comment

Subscribe feeds via e-mail
Subscribe in your preferred RSS reader

Advertise on this site Sponsored links

Subscribe feeds rss Recent Entries

Categories

Subscribe feed rss Popular posts

Subscribe comments rss Recent Comments

Technorati

Technorati
My authority on technorati
Add this blog to your faves