An object with meeting meta-data is sent from webhook, registered on Zoom, and then upload that meeting to the authorize YouTube Channel. Zoom meeting meta-data is then save in SQL database to prevent duplication upload. We can later use the database for further integration.
Agency MarketLytics
Heroku App URL https://zoom-youtube.herokuapp.com/
Heroku Git URL https://git.heroku.com/zoom-youtube.git
Article Will be added
Zoom For webhook references click on the following link https://marketplace.zoom.us/docs/api-reference/webhook-reference
- Go to https://marketplace.zoom.us
- Login with your credentials.
- Click on Develop on top-right corner and from dropdown click Build App.
- Choose your app type. (In my case i have chosen JWT becasue it is used to establish server-to-server interaction for Zoom API) and fill out all the required information
- Then in features tab, enable Event Subscription and write down your event notification endpoint URL i.e /send_recording. (Remeber this is a POST request)
- Down below in event type add recording -> All recordings have been completed as an event in this app. Then click saves and continues.
- Your App will be Activated.
Youtube
- Go to https://console.developers.google.com
- Create Project and enable Youtube Data API.
- Setup OAuth Consent Screen and add your heroku app in aurthorized domain then click saves.
- Go to credentials tab, click credentails and from dropdown click OAuth client ID then select your application type as web application.
- Add your heroku app URL in Authorized JavaScript origins and /oauth2callback in Authorized redirect URIs, then click saves.
- Download your credentials file and rename it to client_secret.json and save it to your project folder.
- Replace the client_secret.json file in the project folder.
- Replace DB credentials with your db credentials in db.js.
- Login heroku in your terminal.
- Commit and push all your code on heroku app repository.
- Create a meeting on zoom and test your code.