我如何允许用户无需询问即可加入Google Meet?
我正在根据特定时间和日期安排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**
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如果您是
主要
用户或邀请人之一,则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.