Skip to content

Is it possible that anyone can join meeting who have meeting link without asking for ask to join?Β #3288

@MOIN-AKHTAR

Description

@MOIN-AKHTAR

I have created a calander event with google meet link via nodejs now i want to make meet link in such away that anyone who have goole meet link can join call without getting button like ask to join.

const { google } = require("googleapis");
const credential = require("./service-account.json");

const createEvent = async () => {
  try {
    const requestId = Math.floor(Math.random() * 100000);
    console.log(requestId);
    const auth = new google.auth.JWT(
      credential.client_email,
      null,
      credential.private_key,
      ["https://www.googleapis.com/auth/calendar"],
      "googleAdminEmail",
      credential.client_id
    );
    const calendar = google.calendar({ version: "v3", auth });
    const event = {
      summary: "Appointment",
      description: "Meeting with client",
      start: {
        dateTime: "2023-07-14T10:00:00",
        timeZone: "Asia/Karachi",
      },
      end: {
        dateTime: "2023-07-14T11:00:00",
        timeZone: "Asia/Karachi",
      },
      conferenceData: {
        createRequest: {
          requestId,
          conferenceSolutionKey: {
            type: "hangoutsMeet",
          },
        },
      },
    };
    const response = await calendar.events.insert({
      calendarId: "primary",
      resource: event,
      conferenceDataVersion: 1,
    });

    console.log("Event created: %s", response.data.htmlLink);
    console.log("Google Meet link: %s", response.data.hangoutLink);
    return;
  } catch (error) {
    console.log(error);
  }
};

createEvent();

Metadata

Metadata

Assignees

No one assigned

    Labels

    priority: p3Desirable enhancement or fix. May not be included in next release.type: questionRequest for information or clarification. Not an issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions