我如何允许用户无需询问即可加入Google Meet?

发布于 2025-01-30 09:40:44 字数 637 浏览 2 评论 0 原文

我正在根据特定时间和日期安排Google会议,到目前为止,它运行良好,它会生成Google Meet链接。但是唯一的问题是,我必须要求加入,而没有人接受。有办法解决这个问题吗?知道我会收到两个参与者的电子邮件。

我正在使用一个称为Google-Meet-api的软件包,

这是代码:

 const meetingLink = await Meeting({
    clientId: process.env.CLIENT_ID,
    clientSecret: process.env.CLIENT_SECRET,
    refreshToken: process.env.REFRESH_TOKEN,
    date,
    time,
    summary: 'Interview',
    location: 'Online',
    description: 'Interview',
  });

  if (!meetingLink) {
    throw new CustomError('Error creating the meeting, please try again later', 500);
  }

console.log(meetingLink) // https://meet.google.com/arr-yrre-t**

I'm scheduling a google meet based on specific time and date, and so far it's going well, it generates a google meet link. But the only problem is that I have to ask to join while no one is there to accept. Is there is a way to get around this? knowing that I get the emails of both of the participants.

I'm using a package called google-meet-api

This is the code:

 const meetingLink = await Meeting({
    clientId: process.env.CLIENT_ID,
    clientSecret: process.env.CLIENT_SECRET,
    refreshToken: process.env.REFRESH_TOKEN,
    date,
    time,
    summary: 'Interview',
    location: 'Online',
    description: 'Interview',
  });

  if (!meetingLink) {
    throw new CustomError('Error creating the meeting, please try again later', 500);
  }

console.log(meetingLink) // https://meet.google.com/arr-yrre-t**

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

感悟人生的甜 2025-02-06 09:40:44

如果您是主要用户或邀请人之一,则URL应该为您提供“加入会议”的选项,即使没有其他人(包括组织者)也是如此。

没有您的问题中的更多细节,很难提供更多帮助。

您是否正在使用此NPM软件包: google-meet-meet-api

NPM软件包是Google SDK方法的实现,仅比示例由Google提供的代码。

我鼓励您考虑为自己编写此代码,并在第三方NPM软件包上节省自己的大部分冗余,以增加价值。

日历的Google文档页面 evester google-meet-api package)提供了 parameters 请求主体

通过查看参数并请求身体字段,您可以向自己确认是否缺少解决问题的字段之一。

If you're the primary user or one of the invitees, then the URL should give you the option to "join the meeting" even if noone else (including the organizer) is present.

Without more details in your question, it's difficult to provide more help.

Are you using this NPM package: google-meet-api?

The NPM package is an implementation of the Google SDK method and is little more than the example code that's provided by Google.

I encourage you to consider writing this code for yourself and saving yourself a mostly redundant depdendency on a 3rd-party NPM package that adds very little value.

The Google documentation page for the calendar Events:insert method (which is what is being used by the google-meet-api package) provides details of the parameters and the request body.

By reviewing the parameters and request body fields, you can confirm to yourself whether you're missing one of the fields that would address your problem.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文