April 25th, 2007

How to check online status for AIM, Yahoo!, MSN, Skype and ICQ users

You're probably registered on at least one forum. And you've no doubt seen that in your forum profile, you can add your favourite Instant Messaging (IM) profile details, and other users can see if you're online. You in turn, can see who else is online as well. Well what if you want to add that status indicator to a website you run? Here are a series of PHP classes that can detect the online/offline status in all of the major IMs.

MSN
Skype
ICQ
AIM
Yahoo!

4 Responses to ' How to check online status for AIM, Yahoo!, MSN, Skype and ICQ users '

Subscribe to comments with RSS or TrackBack to ' How to check online status for AIM, Yahoo!, MSN, Skype and ICQ users '.


  1. on May 11th, 2007 at 8:59 am

    Hi!

    This is a nice part of code that i like and need so much :)

    but I need it in ASP. Could you do it for me?

    Thanks for your time.

  2. Justin Cook said,

    on May 11th, 2007 at 9:09 am

    Sorry, I no longer code ASP for work. You'll need to contract someone to do it.

  3. Gabe said,

    on May 24th, 2007 at 6:28 am

    Its actually very simple if you want to write this yourself without using the classes at PHPClasses.org.

    Just use fsockopen() to connect to port 5222 of a domain where there is a Jabber server running.

    eg:

    $fp = fsockopen('jabber.org' 5222);

    use fwrite() to send it the right XML stanzas that will log your friend in and check your status. (Your friend being a jabber account you set up as your friend). If the jabber server supports msn, yahoo transports, you can check your status on that too…

    An example of the XML stanzas to send is here: http://www.saint-andre.com/jabber/telnet.txt

  4. lili_lita said,

    on September 5th, 2008 at 6:15 am

    Hi there, I was so glad I found this site and downloaded all the check phps, but none of them worked! Why is that? Old code? Could you please update and fix it?

    I tried skype and icq - nothing. Skype shows only offline and ICQ shows only online statuses, doesn't matter if the user IS really online/offline.

    PLEASE, write me an email or post here!

Leave a reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

*
To prove you're a person (not a spam script), type the security word shown in the picture.
Anti-Spam Image