Saturday, September 8, 2007

Setup MySpace IM with PIDGIN!

This howto is no longer necessary because a new version of Pidgin has been released, read Here
--
I personally hate myspace due to the spam and lameness, facebook for me is a little better, but for those people with girlfriends that are nagging, "why did you change my operating system, I need myspace IM" blah blah blah... Here it is, a reverse engineering hack for myspace IM:
Original guide from http://developer.pidgin.im/wiki/MsimInstall.
I am using Pidgin 2.1.1, here is an easy to use script that will do the work for you, or you can scroll down and copy/paste each command one by one into a "root" terminal:


wget http://io.storm.googlepages.com/myspaceim.sh
sudo -s
chmod +x myspaceim.sh
./myspaceim.sh

And that should do it, start up pidgin and click on add new account, make sure you use your myspace email and password.

Contents of myspaceim.sh:
#!/bin/bash
wget http://ubuntu.org.ua/getdeb/pi/pidgin-dev_2.1.1-1~getdeb1_all.deb
wget http://downloads.sourceforge.net/pidgin/pidgin-2.1.1.tar.bz2
wget http://msimprpl.darkthoughts.net/msimprpl-0.16.tar.gz
wget http://developer.pidgin.im/attachment/wiki/MySpaceIM/myspace_16.png
wget http://developer.pidgin.im/attachment/wiki/MySpaceIM/myspace_22.png
wget http://developer.pidgin.im/attachment/wiki/MySpaceIM/myspace_48.png
cp *.png /usr/share/pixmaps/pidgin/protocols/
dpkg -i pidgin-dev_2.1.1-1~getdeb1_all.deb
tar jxvf pidgin-2.1.1.tar.bz2
mkdir msimprpl-0.16
cd msimprpl-0.16
tar zxvf ../msimprpl-0.16.tar.gz
cd libpurple/protocols/myspace
gcc `pkg-config --cflags pidgin ` -D PURPLE_PLUGINS -c message.c myspace.c -I../../../../pidgin-2.1.1/libpurple/ -I.
gcc -shared -`pkg-config --libs pidgin` message.o myspace.o -o libmyspace.so
cp -v libmyspace.so /usr/lib/purple-2/

7 comments:

  1. I am getting errors with your script.

    /usr/bin/ld: cannot find -lpurple
    collect2: ld returned 1 exit status
    cp: cannot stat `libmyspace.so': No such file or directory

    ReplyDelete
  2. apt-get install pidgin-dev
    apt-get source pidgin
    tar zxvf pidgin_2.0.2.orig.tar.gz
    mkdir msimprl-0.12

    cd msimprl-0.12
    tar zxvf ../msimprpl-0.12.tar.gz
    cd libpurple/protocols/myspace

    gcc `pkg-config --cflags pidgin ` -D PURPLE_PLUGINS -c message.c myspace.c -I../../../../pidgin-2.0.2/libpurple/ -I.
    gcc -shared -`pkg-config --libs pidgin` message.o myspace.o -o libmyspace.so

    sudo mv libmyspace.so /usr/lib/purple-2/

    # the images would go in /usr/share/pixmaps/pidgin/protocols/

    ReplyDelete
  3. I'm getting: "/usr/bin/ld: message.o: relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC
    message.o: could not read symbols: Bad value
    collect2: ld returned 1 exit status
    cp: cannot stat `libmyspace.so': No such file or directory"

    I am sure it has something to do with 2.6.22-10-generic 64Bit kernel

    ReplyDelete
  4. This is all too much work for me.. I just use www.ebuddy.com so I can use MyspaceIM webbased. Super Easy!! Highly recommended!

    ReplyDelete
  5. Got the script to work, but when I fire up pidgin and add my myspace email and password it don't work... keeps saying wrong password.. I know it's right though.

    ReplyDelete
  6. I have crossover office installed. Use internet explorer to go to the myspace im download click download and on the option save or open choose open let it install it will leave an icon on desktop launch the app and configure user name and password. It worked for me when I set it up for my daughter. Hope that helps somebody

    ReplyDelete
  7. Hey Ron, use your full email address instead of just your username.

    ReplyDelete