February 10, 2014 12:01 pm

How to use Skype API to Detect Users Status

Skype is one of the biggest free VoIP (voice over internet protocol) service and an instant messaging client, currently developed and managed by Microsoft. Today I am going to show you that how you can check any Skype user’s status that he/she is online or off line. Its a very simple code I found on a website and want to share this with my readers.

How to use Skype API to Detect Online Users

PHP Code [source]

This function accept 3 parameter $username, image and icon. If you nee only text status the no need to send 2nd and 3rd parameter send only username and it will give you text message. all 3 methods called below.

Function Call

These all methods show you icon, image and status text as we show in our demo page.

This is a very small script and easy to configure if you are looking for something like this then download its code for free and use it in your web projects.

I hope you like this please feel free to comment below your suggestion and problems if you face because we are here to solve your problems.

Author Huzoor Bux

I am Huzoor Bux from Karachi (Pakistan). I have been working as a PHP Developer from last 5+ years, and its my passion to learn new things and implement them as a practice. Basically I am a PHP developer but now days exploring more in HTML5, CSS and jQuery libraries.


Tutorial Categories:
  • Iqbal Ahmed

    I don’t think it is correct tut. I am logged in, in skype and entering my username on the demo page in spite of this getting offline status,

    • huzoorbux

      You have to allow your online status its might be disabled in
      Tools-> Options-> Privacy Settings. Screenshot also attached.

      • Jacke

        OK, I commented a few hours earlier about it wasnt working because of the new Changes on Skype. I have to take my words back because it is actually still working! Someone I know who have been working on skypes dev team told me that it wasnt working anymore! But I did give him a call about it and it turned out that we both had misunderstood eachother. What I found about why it isnt working right away after enabling the option from your Skype Privacy Settins page, is because skype needs a few hours or maybe upto 24 hours to process your change!
        This only happens the first time you Enable it! Mine is now working, and when I change my Status and run the file it will immediately show my new Online Status ! So Well done PHPGANG for leaving this Thread Open.

  • Gaurav

    Not Working !!!

    • huzoorbux

      Did you checked your privacy settings? Allowed your online status to be shown on the web?

  • Halloooeu

    DOES NOT WORK!!
    Neither with “online status allowed on web” neither without

  • WV

    Hey anyone know why the code is not working anymore has the URL changed?