Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to get skype contact list from a browser?

I want to get my skype contact list in a browser page just like https://imo.im/ does it.

How the skype api works? For me it's really confusing. As I see I need to download skype4com to make it work with PHP or node.js etc?

How is that working?

like image 799
Adam Halasz Avatar asked Dec 04 '25 16:12

Adam Halasz


1 Answers

You can have a look at https://github.com/ShyykoSerhiy/skyweb (https://www.npmjs.com/package/skyweb).

import Skyweb = require('../skyweb');

var skyweb = new Skyweb();
skyweb.login('skypeUsername', 'skypePassword').then((skypeAccount) => {
    console.log('Your contacts : ' + JSON.stringify(skyweb.contactsService.contacts, null, 2));
});

Note that skyweb relies on some internal parts Skype for Web (web.skype.com) implementation and this approach may stop working literally in any moment.

like image 125
shyyko.serhiy Avatar answered Dec 09 '25 03:12

shyyko.serhiy



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!