标签: skypedeveloper

我应该将UCWA或UCMA或其他API用于Skype for Business Server应用程序吗?

围绕Skype for Business似乎有很多不同的SDK/API.我很难解读哪一个适合服务器端的Bot应用程序可以将组织特定信息传递给组织内的用户.例如,我们希望能够通过消息传递任务并执行基于状态的任务分配.这似乎是相当低的成果,但REST端点和文档才能实现这一点.假设例如我想创建一个小的控制台应用程序,可以促进这个API你会推荐什么?

ucma ucwa skype-for-business skypedeveloper

23
推荐指数
1
解决办法
1万
查看次数

我们可以为"Skype for Business"构建Skype机器人吗?

我见过与"Skype"配合使用的机器人编程示例.是否有可能使用Microsoft的Bot/Cognitive服务工具/框架开发在"Skype for Business"上运行的企业机器人?

skype-for-business microsoft-cognitive skypedeveloper skype-bots microsoft-skype-bot

12
推荐指数
2
解决办法
8163
查看次数

尝试通过Skype for Business Web SDK登录时出现XML分析错误

我正在尝试将Skype for Business Web SDK添加到网站,我从这里复制并修改了(错误的)登录片段

当我在Firefox中运行代码时,我收到此错误:firefox控制台中的错误

我的代码看起来像这样:

文件:Home.html,标题部分

<!-- skype SDK -->
<script src="https://swx.cdn.skype.com/shared/v/1.2.15/SkypeBootstrap.min.js"></script>
<script src="../../Scripts/SkypeForBusiness.js"></script><!-- my skype log-in code -->
Run Code Online (Sandbox Code Playgroud)

文件:SkypeForBusiness.js

$(document).ready(function () {
    console.log("initializing skype...");
    Skype.initialize({ apiKey: config.apiKey }, function (api) {
        window.skypeWebApp = new api.application();
        //Make sign in table appear

        window.skypeWebApp.signInManager.signIn({
            username: 'my.username@mycompany.com',
            password: 'myPassword'
        }).then(() => {
            console.log('Signed in as ' +
                window.skypeWebApp.personsAndGroupsManager.mePerson.name());
        });

        // whenever client.state changes, display its value
        window.skypeWebApp.signInManager.state.changed(function (state) {
            console.log(state);
        });

    }, function (err) {
        console.log(err);
        alert('Cannot load …
Run Code Online (Sandbox Code Playgroud)

javascript office365 skype-for-business skypedeveloper

9
推荐指数
0
解决办法
322
查看次数

Skype for Desktop Apps

我多年来一直在为残疾人开发和分发通信软件.

这些残疾人喜欢在一个应用程序(电子邮件,互联网,Skype等)中拥有所有东西.

因此我使用了Skype4COM库.这一切都运行良好多年,然后突然它不再工作(我认为它是在2014年),然后不久,它再次工作.

现在 - 将Windows 10与集成的Skype应用程序一起使用 - 它不再起作用了.

我在这一行收到错误"未安装Skype客户端":

Set oSkype = New SKYPE4COMLib.Skype'works fine
oSkype.Client.Start True, True 'raises error "Skype client is not installed"
Run Code Online (Sandbox Code Playgroud)

我试图在文档上获得有关此内容的一些信息,但我没有找到所需的信息.

有没有人知道我可能做错了什么或我必须采取哪些不同的做法才能让用户再次在我的通讯软件中使用Skype?

skype skype4com skypedeveloper

9
推荐指数
0
解决办法
253
查看次数

以编程方式安排/创建Skype for Business会议

我正在开发一个C#/控制台应用程序,它将安排Skype for Business会议,并且无法找到可能的正确方法和使用的正确方法/ sdk的明确答案.

该应用程序需要:

  1. 使用可以绕过大厅的单个演示者,在将来的日期为商务会议创建lync/skype
  2. 检索加入该会议的URL,以便在向其他参与者(组织外部)发送电子邮件邀请时使用

这将在Skype for Business的Office 365实例上运行.我在各种SDK中找到了关于这个主题的令人眼花缭乱的信息,可能/可能不适用:

所有似乎都表明它们与office 365不兼容,但有没有人建立类似的应用程序或处理此之前可以提供一些建议?

.net c# skype-for-business skypedeveloper

6
推荐指数
2
解决办法
6683
查看次数

Skype for Business UCWA和Web API与Office365

是否可以连接到Office365服务器并使用UCWA(ucwa.skype.com/)和Skype for Business?

我想使用这个例子https://www.matthewproctor.com/Send-An-IM-With-UCWA-Creating-the-Application/但我不知道我可以使用哪个服务器进行连接...

asp.net-web-api ucwa skype-for-business office365api skypedeveloper

6
推荐指数
1
解决办法
1825
查看次数

在Node.js中使用skype-sdk构建的Skype bot运行不正常?

我正在尝试构建skype bot.

我按照给出的文档skype-sdk但未能使用它创建它.无法从机器人获得回复.

const fs = require('fs');
const restify = require('restify');
const skype = require('skype-sdk');

const botService = new skype.BotService({
    messaging: {
        botId: 'xxxxxxxx-xxx-xxx-xxx-xxxxxxxxxxxx',
        serverUrl : "https://example.net",
        requestTimeout : 15000,
        appId: 'xxxxxxxx-xxx-xxx-xxx-xxxxxxxxxxxx',
        appSecret: 'xxxxxxxxxxxxxxxxxxxxxxxx'
    }
});

botService.on('contactAdded', (bot, data) => {
    console.log("bot replay");
    bot.reply('Hello ${data.fromDisplayName}!', true);
});

botService.on('personalMessage', (bot, data) => {
    console.log("person replay");
    bot.reply('Hey ${data.from}. Thank you for your message: "${data.content}".', true);
});

const server = restify.createServer();

server.use(skype.ensureHttps(true));
server.use(skype.verifySkypeCert({}));

server.post('/skbot', skype.messagingHandler(botService));
const port = process.env.PORT || 8080; …
Run Code Online (Sandbox Code Playgroud)

bots node.js skypedeveloper skype-bots

6
推荐指数
1
解决办法
662
查看次数

多方视频对话使用skype web sdk在线发布Skype for business

我正在使用Skype web sdk在线工作Skype for business.我正在尝试创建多方视频会话,即视频会议.

我使用下面的代码来创建对话.

var conversation = app.conversationsManager.createConversation(); //created conversion
//self video listener
conversation.selfParticipant.video.state.changed(function (newState, reason, oldState) {
    notify("selfParticipant.video.state : "+newState)
});
//self audio listener
conversation.selfParticipant.audio.state.changed(function (newState, reason, oldState) {
    notify("selfParticipant.audio.state :"+newState);
});
//listner for conversion state
conversation.state.changed(function (newValue, reason, oldValue) {
    notify("conversation.state : "+newValue)
});

//add participants
addParticipants(conversation,sip_uris); //Added participants

notify("conversation.videoService.maxVideos : "+conversation.videoService.maxVideos());
notify("conversation.videoService.videoMode : "+conversation.videoService.videoMode());
//start video service
conversation.videoService.start().then(function () {
    notify("Video conference successfully started : "+conversation.uri());
},function (error) {
    notify("Video conference start failed : "+error); …
Run Code Online (Sandbox Code Playgroud)

skype ucwa skype-for-business skypedeveloper

6
推荐指数
1
解决办法
371
查看次数

Skype API - 拨打电话和发送消息

有没有办法用 C# 或任何其他语言实现 Skype API。

我使用的是 Skype4com.DLL,但它已被弃用,不能与 Skype 最新更新一起使用。我在 Skype 插件(Windows 应用程序)中使用它来登录和拨打电话。作为替代方案,我认为 UCWA Skype Web SDK 将是最佳解决方案,但它有不同的用途。

有些公司仍在使用它,例如https://www.minutizer.com/。我无法弄清楚他们如何检测呼叫和消息。

需要帮助!谢谢

c# skype skype4com skypedeveloper

6
推荐指数
1
解决办法
2万
查看次数

UCWA Skype for Business在线API身份验证 - 403禁止的应用程序资源

我正在按照本指南(https://msdn.microsoft.com/en-us/skype/ucwa/authenticationusingazuread)来尝试和验证并创建Skype应用程序.

我的目标是通过API创建Skype会议并生成在线会议URL.

我能够生成应用程序资源URL.

当我尝试POST到URL时,我收到403 Forbidden错误.看起来令牌可能存在问题?但是,我在之前的请求中使用令牌来获取应用程序URL.

在此输入图像描述

对我做错了什么的想法?

邮寄要求:

POST https://webpool.infra.lync.com/ucwa/oauth/v1/applications HTTP/1.1
Connection: Keep-Alive
Content-Type: application/json; charset=utf-8
Authorization: Bearer (edited)
x-ms-request-root-id: a9c17f66-46d761cf7325d6a7
x-ms-request-id: |a9c17f66-46d761cf7325d6a7.6.
Request-Id: |a9c17f66-46d761cf7325d6a7.6.1.
Content-Length: 96
Host: webpoolblu0b11.infra.lync.com

{ UserAgent = UCWA Samples, EndpointId = f87e1d57-83a4-4f9b-aac7-00f05f440637, Culture = en-US }
Run Code Online (Sandbox Code Playgroud)

回复后:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/>
<title>403 - Forbidden: Access is denied.</title>
<style type="text/css">
<!--
body{margin:0;font-size:.7em;font-family:Verdana, Arial, Helvetica, sans-serif;background:#EEEEEE;}
fieldset{padding:0 15px 10px 15px;} 
h1{font-size:2.4em;margin:0;color:#FFF;}
h2{font-size:1.7em;margin:0;color:#CC0000;} 
h3{font-size:1.2em;margin:10px 0 0 …
Run Code Online (Sandbox Code Playgroud)

skype-for-business skypedeveloper

5
推荐指数
1
解决办法
652
查看次数

当我尝试通过Skype Web SDK安排会议时没有回应或错误

我正在尝试使用Skype SDK安排会议。我给出的代码与示例中所示的相同。但是我没有收到任何错误或代码来安排会议。请仔细检查代码,如果下面的代码有任何错误,请通知我。我坚持这个

    $('#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 …
Run Code Online (Sandbox Code Playgroud)

javascript skype-for-business skypedeveloper

5
推荐指数
1
解决办法
83
查看次数

无法使用Skype for Business 2016安装Lync 2013 SDK

我正在尝试制作一个简单的WinForms应用程序来改变Skype for Business状态(我正在使用Skype for Business 2016).根据下面的链接,我应该能够安装Lync 2013 SDK(我在这里找到:https://www.microsoft.com/en-in/download/details.aspx?id = 36824).但是,当我试图安装它时,它说Microsoft Lync 2013 not found. Go here to download and install: http://go.microsoft.com/fwlink/?LinkID=248583.有什么建议?我是否还必须安装Lync才能与Skype for Business 2016进行交互?

Lync 2013 Client SDK是否与Skype for Business兼容?

Skype for Business 2016没有客户端SDK

c# sdk client skype-for-business skypedeveloper

3
推荐指数
2
解决办法
3248
查看次数

android.support.v4库出错

我正在尝试在我的项目中使用Android Skype SDK 示例代码,并且我收到大量错误android.support.v4 not found.
android-support-v4.jar文件已存在于我的libs文件夹中.
我已经关注了其他文章并尝试删除并再次添加,但没有成功.有人可以帮我吗?

我的gradle文件

apply plugin: 'com.android.application'

def ROOTDIR     = file("..").absolutePath

android {
    compileSdkVersion 23
    buildToolsVersion "23.0.2"
    useLibrary 'org.apache.http.legacy'


defaultConfig {
    applicationId "it.moondroid.chatbot"
    minSdkVersion 17
    targetSdkVersion 23
    versionCode 1
    versionName "1.0"
    multiDexEnabled true

    jackOptions {
      //  enabled true
    }
}

compileOptions {
    sourceCompatibility JavaVersion.VERSION_1_7
    targetCompatibility JavaVersion.VERSION_1_7
}



buildTypes {
    debug {
        minifyEnabled false
        debuggable true
        jniDebuggable true
    }

    release {
        debuggable true
        minifyEnabled false
        proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
    } …
Run Code Online (Sandbox Code Playgroud)

java android android-support-library android-gradle-plugin skypedeveloper

1
推荐指数
1
解决办法
1万
查看次数