2

SDK を使用して Skype にサインインしようとしていますが、「エラー: NoFQDN」というエラーが表示され続けます。ネットでこれを検索した後、考えられる解決策が見つからないか、エラーの意味さえわかりません。誰かがこれに光を当てたり、有用な情報源を教えてくれますか? ありがとうございます。

これは、Skype にログインするために使用している JavaScript です。

  /**
 * This script demonstrates how to sign the user in and how to sign it out.
 */
$j(function () {
    'use strict';    // create an instance of the Application object;
    // note, that different instances of Application may
    // represent different users
    var Application
    var client;
    Skype.initialize({
        apiKey: 'SWX-BUILD-SDK',
    }, function (api) {
        Application = api.application;
        client = new Application();
    }, function (err) {
        alert('some error occurred: ' + err);
    });

    // when the user clicks on the "Sign In" button    
    $j('#signin').click(function () {
    // start signing in
    client.signInManager.signIn({
        username: $j('#username').text(),
        password: $j('#password').text()
    }).then(
        //onSuccess callback
        function () {
            // when the sign in operation succeeds display the user name
            alert('Signed in as ' + client.personsAndGroupsManager.mePerson.displayName());
        }, 
        //onFailure callback
        function (error) {
            // if something goes wrong in either of the steps above,
            // display the error message
            alert(error || 'Cannot sign in');
        });
    });

    // when the user clicks on the "Sign Out" button
    $j('#signout').click(function () {
    // start signing out
    client.signInManager.signOut()
        .then(
            //onSuccess callback
            function () {
                // and report the success
                alert('Signed out');
            }, 
        //onFailure callback
        function (error) {
            // or a failure
            alert(error || 'Cannot sign in');
        });
    });

    // whenever state changes, display its value    
    client.signInManager.state.changed(function (state) {
        $j('#application_state').text(state);
    });
    });

誰でもこれに問題がありますか?

4

1 に答える 1