Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <script src="https://swx.cdn.skype.com/shared/v/1.2.15/SkypeBootstrap.min.js"></script>
- <script>
- var config = {
- apiKey: '595a1aeb-e6dc-4e5b-be96-bb38adc83da1', // SDK
- apiKeyCC: '08c97289-7d57-404f-bd97-a6047403e370' // SDK+UI
- };
- Skype.initialize({ apiKey: config.apiKey },
- function (api)
- {
- Application = api.application; // this is the Application constructor
- app = new Application;
- app.signInManager.signIn ({
- username: 'voxiweb.test1',
- password: 'voxiwebtest1'
- }).then(() => {
- console.log("signed in as", app.personsAndGroupsManager.mePerson.displayName());
- }, err => {
- console.log("cannot sign in :", err);
- });
- },
- function (err)
- {
- console.log("cannot load the sdk package", err);
- }
- );
- </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement