- Status changed to Closed: works as designed
almost 2 years ago 10:03am 28 January 2023 I figured it out myself, i did my own custom coding, this github repository provided grest help:
hi, i am working on a site, where there are different users, so each user will be able to start a zoom meeting, i have created a controller with this code in it:
public function zoomapi(){
$client = \Drupal::service('zoomapi.client');
try {
// Make the POST request to the zoom api.
$response = $client->request('POST', '/users/me/meetings',[],['json' => [
"topic" => "Let's learn Laravel",
"type" => 2,
"schedule_for" => "test@gmail.com",
]]);
return $response;
}
catch (RequestException $e) {
// Zoom api already logs errors, but you could log more.
\Drupal::messenger()->addStatus($e->getMessage());
$response = new RedirectResponse('/');
$response->send();
exit;
}
}
please check my code, let me know how can i correct it
Closed: works as designed
2.0
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
I figured it out myself, i did my own custom coding, this github repository provided grest help: