PHP Classes

Skype Status: Determine the online status of a Skype user

Recommend this page to a friend!
  Info   View files View files (10)   DownloadInstall with Composer Download .zip   Reputation   Support forum (2)   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 41%Total: 915 This week: 1All time: 3,883 This week: 560Up
Version License PHP version Categories
skype_status 1.0.0GNU General Publi...4.0Web services, Chat
Description 

Author

This class can be used to determine the online status of a Skype user.

It sends an HTTP request to the Skype Web server that returns a status widget page for a given user.

The class parses the status page to determine the current status of the user.

It caches the status query results to avoid further server accesses during 2 minutes.

Picture of lubosdz
Name: lubosdz <contact>
Classes: 1 package by
Country: Slovak Republic Slovak Republic
Age: ???
All time rank: 247312 in Slovak Republic Slovak Republic
Week rank: 411 Up2 in Slovak Republic Slovak Republic Up

Details

This is PHP solution for showing any SKYPE account status on your website It solves problem, that skype server does not support HTTPS requests. Therefore client javascript will fail it it attempts to connect to skype server via secure link (HTTPS). Workaround - this solution replaces pure client implementation with pure server implementation, and sends to client skype status acquired between servers. No client javascript implementation is required at all. DIRECTORY STRUCTURE: |skype |skype/skype_accounts/ |skype/skype_images/skype_online.png |skype/skype_images/skype_do_not_disturb.png |skype/skype_images/skype_me.png |skype/skype_images/skype_not_available.png |skype/skype_images/skype_away.png |skype/skype_images/skype_offline.png |skype/skype.status.class.php INSTALLATION: 1/ create folder [skype_accounts] with writable permissions 2/ create folder [skype_images] and copy there skype status images. you can replace/create your own images. 3/ set/check correct paths in class and image names 4/ initiate the class - see examples #1 - #3 bellow: example #1: $skype = new Skype_Status(); $skype_data = $skype->get_skype_status('myskypename', 120); echo $skype_data['html']; example #2: $skype = new Skype_Status(); $skype->show_picture('myskypename', 120); example #3: $skype->show_html('myskypename', 120); Now check - you should see new file inside of directory [.../skype_accounts/skype_status.MYSKYPENAME.txt] Enjoy! ---------------- please report bugs to: lubosdz@synet.sk

  Files folder image Files  
File Role Description
Files folder imageskype_accounts (1 file)
Files folder imageskype_images (6 files)
Accessible without login Plain text file GPL.txt Lic. GPL licence
Accessible without login Plain text file readme.txt Doc. readme.txt
Plain text file skype.status.class.php Class main skype status class

  Files folder image Files  /  skype_accounts  
File Role Description
  Accessible without login Plain text file skype_status.myskypename.txt Data exsample of cached skype status

  Files folder image Files  /  skype_images  
File Role Description
  Accessible without login Image file skype_away.png Icon status away
  Accessible without login Image file skype_do_not_disturb.png Icon status do not disturb
  Accessible without login Image file skype_me.png Icon status skype me
  Accessible without login Image file skype_not_available.png Icon status not available
  Accessible without login Image file skype_offline.png Icon status offline
  Accessible without login Image file skype_online.png Icon status online

 Version Control Unique User Downloads Download Rankings  
 0%
Total:915
This week:1
All time:3,883
This week:560Up
User Ratings User Comments (1)
 All time
Utility:62%StarStarStarStar
Consistency:50%StarStarStar
Documentation:56%StarStarStar
Examples:-
Tests:-
Videos:-
Overall:41%StarStarStar
Rank:3626