Want to integrate Laravel with Zoom API

Hello Everyone.

I’m building a LMS application with Laravel for a client and I want to integrate zoom meeting with it.

All I want to do is to integrate Laravel with Zoom API if that possible and I tried for days but with no results. If anyone could help me or show me a way to integrate Zoom API with PHP I will be thankful.

Thanks in advanced.

1 Like

Hi
Same here.
I integrated Zoom API in LMS, just server to server, call API to Creating meeting for teacher. And Frontend for Student, you can use sample code Sdk for web to join meeting.
Hope this help.

1 Like

You can refer my thread

1 Like

Thanks for the reply… Can you show me how it done because I tried it in every way, I tried it with JWT and I tried with web SDK but with no result, May be I missing something or may be I did something wrong btw it’s the first time that I use Zoom API

1. Integrate with LMS

Create JWT application from https://marketplace.zoom.us/, and then you generate Token. API key, Secret, Token will be used when you call Zoom API (server- to -server) . Because I based on Microsoft’s stack so my code is C# but I can share to you if you need.

Teacher will create meeting in LMS.

2 . Integrate in Front end for Student

You use https://marketplace.zoom.us/docs/sdk/native-sdks/web
There is a sample code html/react, you can investigate to know how to join meeting.
You can use it for student join meeting.

1 Like

I tried the second option and it not working properly. But I prefer the first option so you mean teacher or admin can create-update-delete meetings in my own app with just JWT ?!!

If you also have examples in the JWT app in your LMS I will be thankful

Hey @soheilsalah2, thanks for posting and using Zoom!

What specific issues are you running into? What are the errors?

Please provide more info so I can assist!

Also thanks for the help @vucuongkg! :slight_smile:

-Tommy

Yep, in LMS teacher or admin can CRUD meeting with JWT application.
For front end, I think you were wrong token and you need start meeting before allowing other people join meeting.
More detail: I just implement create meeting, and then we will have StartUrl, admin/teacher will start by click this Url and after that student can join the meeting.

I attached my code (server - to -server API)
Front end: just download sample from Zoom, and you change token, api, secret by your own.
https://drive.google.com/drive/folders/1Gmf7E2aC9k0hjTFv2IRFeF4zQDPGuzy-?usp=sharing

2 Likes

Let us know if you need additional help @soheilsalah2 ! :slight_smile:

Thanks,
Tommy

1 Like

Hi @tommy ,
I want to integrate zoom for my Laravel web app. I want to call zoom signin popup to join meeting. However, I’m unable to proceed. Please help me out

1 Like

Hey @vishali.choudhary,

Please share what specific issues / errors you are having and steps to reproduce.

Make sure to follow the OAuth guide.

Thanks,
Tommy

Hello @tommy

For now, I am using a zoom API to create a meeting through curl to manage in the backend console. However I didn’t found any way to start a meeting, so I am using the web SDK sample app to start meeting with node js. It works fine in the windows system but when I try it on other platforms eg: ubuntu, it is throwing me the following error:

npm ERR! code ELIFECYCLE
npm ERR! errno 126
npm ERR! websdk-cdn@1.7.6 start: concurrently "http-server -a 0.0.0.0 -p 9999 - c-1 -o index.html"
npm ERR! Exit status 126
npm ERR!
npm ERR! Failed at the websdk-cdn@1.7.6 start script.
npm ERR! This is probably not a problem with npm. There is likely additional log

I have done everything mentioned in https://github.com/zoom/sample-app-web#quick-start, but the issue remains the same.
I also have installed http-server globally, npm install http-server -g

I am trying this from last week, please help me with the issue so that I can finish my task.

hello Zoom,

How I can create the production build for sample app. Please provide me suitable answer or I need the refund for not helping me at the time.

Hi @vishali.choudhary, I’m not sure about your original use case. Are you using the Web SDK to start a meeting, or are you joining a user via the Web SDK?

http-server should not need to be installed globally, just as a local dependency. A

Are you bringing in dependencies locally, or via CDN?