【问题标题】:Unable to implement third-party Google Calendar Conferencing Add-on无法实施第三方 Google 日历会议插件
【发布时间】:2018-12-21 16:15:47
【问题描述】:

我正在研究 Google 日历会议插件的实施,但发现了一些问题。我按照文档执行示例代码,但它没有按预期工作。

在我看来,我的清单文件是完整的,但是当我尝试从“从清单部署”链接发布日历会议插件时,它会打开我的谷歌日历,但它没有将我的会议显示为例如,它显示了环聊和优步会议。

我期待在 Stackdriver 中的入口点函数上有一些日志消息,但即使这样也不起作用。 你有什么线索我应该从哪里开始我的调查? 下面是我的清单文件,也是我的 createConference 函数定义。

{
"dependencies": {
    "enabledAdvancedServices": [{
        "userSymbol": "Calendar",
        "serviceId": "calendar",
        "version": "v3"
    }],
    "libraries": [{
        "userSymbol": "OAuth2",
        "libraryId": "1B7FSrk5Zi6L1rSxxTDgDEUsPzlukDsiaserTMogajsHhGBzBkMun4iDF",
        "version": "21"
    }]
},
"webapp": {
    "access": "ANYONE",
    "executeAs": "USER_ACCESSING"
},
"exceptionLogging": "STACKDRIVER",
"oauthScopes": [
    "https://www.googleapis.com/auth/calendar.addons.execute",
    "https://www.googleapis.com/auth/calendar.events.readonly",
    "https://www.googleapis.com/auth/calendar.settings.readonly",
    "https://www.googleapis.com/auth/script.external_request",
    "https://www.googleapis.com/auth/script.scriptapp",
    "https://www.googleapis.com/auth/userinfo.email",
    "https://www.googleapis.com/auth/script.external_request"
],
"urlFetchWhitelist": [
    "https://circuitsandbox.net/"
],
"calendar": {
    "name": "My Web Conferencing",
    "logoUrl": "https://dl.dropboxusercontent.com/s/sgkt743sv30rid1/logo-circuit-100x100.png?dl=0",
    "createSettingsUrlFunction": "createSettingsUrl",
    "conferenceSolution": [{
            "id": 1,
            "name": "My Web Conference",
            "logoUrl": "https://dl.dropboxusercontent.com/s/sgkt743sv30rid1/logo-circuit-100x100.png?dl=0",
            "onCreateFunction": "createConference"
        },
        {
            "id": 2,
            "name": "My Recorded Web Conference",
            "logoUrl": "https://dl.dropboxusercontent.com/s/sgkt743sv30rid1/logo-circuit-100x100.png?dl=0",
            "onCreateFunction": "createConference"
        }
    ]
}


function createConference(arg) {
var dataBuilder = ConferenceDataService.newConferenceDataBuilder();
var authenticationUrl = 'https://adfs01.circuitsandbox.net/';
    var error = ConferenceDataService.newConferenceError()
        .setConferenceErrorType(
            ConferenceDataService.ConferenceErrorType.AUTHENTICATION)
        .setAuthenticationUrl(authenticationUrl);
    dataBuilder.setError(error);
return dataBuilder.build();
}

【问题讨论】:

  • 您在哪里找到了实施 Google 日历会议插件的示例/文档?我找不到任何关于 ConferenceDataService 的信息
  • @Gustavo Valensuela 你能让它工作吗?另外,您介意分享一下您是如何进入白名单的吗?

标签: google-apps-script google-calendar-api conferencing


【解决方案1】:

您需要被 Google 列入白名单才能开发和调试 Google 日历插件。

编辑:当时,您需要在 google 中有一个联系人将您列入白名单,但不确定是否仍然如此。很长时间没有在这方面工作。不知道如何联系他们,我自己从来没有直接联系过。

【讨论】:

  • 我在白名单上,所以我可以查看所有文档,但由于某种原因,我无法使示例正常工作。还有其他想法吗?
  • 如何进入白名单?有这方面的文件吗?
  • 如何进入白名单?我在 G Suite 市场上看到了 Zoom/Webex/BlueJeans/SalesForce/UberConference 和几个插件。如何像他们一样?
  • 当时,您需要在 google 中有一个将您列入白名单的联系人。不知道如何与他们取得联系,我从来没有直接接触过。
猜你喜欢
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2022-07-16
  • 2022-06-23
  • 1970-01-01
  • 1970-01-01
  • 2017-02-19
相关资源
最近更新 更多