none
No response or error is coming when I try to schedule a meeting via Skype web sdk

    Question

  • I'm trying to schedule a meeting using the skype sdk. I've given the code same as shown in the samples. But I'm not getting any errors or any response from the code to schedule meeting. Please go through the codes and let me know if there is any errors in the code below. I'm stuck with this.

       $('#authentication').click(function() {
            var client_id = "xxxxxx-xxxx-xxxx-xxxx-xxxxxxxx";
            window.sessionStorage.setItem('client_id', client_id);
            var href = 'https://login.microsoftonline.com/common/oauth2/authorize?response_type=token&client_id=';
            href += client_id + '&resource=https://webdir.online.lync.com&redirect_uri=' + window.location.href;
            window.location.href = href;
        });
        $('#createmeeting').click(function() {
            var client;
            var conversation;
            var Application;
            console.log(sessionStorage.getItem('client_id'));
            Skype.initialize({ apiKey: 'a42fcebd-5b43-4b89-a065-74450fb91255' }, function (api) {
                Application = api.application;
                client = new Application();
                console.log('client created');
                var meeting = client.conversationsManager.createMeeting();
                meeting.subject('Planning meeting');
                meeting.expirationTime(new Date + 24 * 3600 * 5);
                meeting.onlineMeetingUri.get().then(uri => {
                   var conversation = client.conversationsManager.getConversationByUri(uri);
                   console.log(';'); // even this is not showing 
                }, function (error) {
                    console.log(error);
                });
                     console.log(conversation);
    
            }, function (err) {
                console.log(err);
                alert('Cannot load the SDK.');
            });            
        });

    • Moved by Evan87 Jiang Thursday, May 9, 2019 2:14 AM move this case to the right forum
    Wednesday, May 8, 2019 2:12 PM

All replies

  • Hi Darshan Babu,

    Thanks for visiting our forum. Then here is mainly focus on troubleshooting issues regarding SFB. Based on your description, you have some issue with Skype web sdk, as it is more related with SFB development area, so I'll move this thread to the Microsoft Unified Communications Web API forum to get a better response.
    Thanks for your understanding.

    Best Regards,
    Evan Jiang


    Please remember to mark the replies as answers if they helped. If you have feedback for TechNet Subscriber Support, contact tnsf@microsoft.com.


    Click here to learn more. Visit the dedicated forum to share, explore and talk to experts about Microsoft Teams.

    Thursday, May 9, 2019 2:12 AM