-
Dixon Fred authoredDixon Fred authored
To learn more about this project, read the wiki.
README.md 3.34 KiB
bbb-webhooks
This is a node.js application that listens for all events on BigBlueButton and sends POST requests with details about these events to hooks registered via an API. A hook is any external URL that can receive HTTP POST requests.
You can read the full documentation at: http://docs.bigbluebutton.org/labs/webhooks.html
Development
- Install node. You can use NVM if you need multiple versions of node or install it from source. To install from source, first check the exact version you need on
package.json
and replace the allvX.X.X
by the correct version when running the commands below.
wget http://nodejs.org/dist/vX.X.X/node-vX.X.X.tar.gz
tar -xvf node-vX.X.X.tar.gz
cd node-vX.X.X/
./configure
make
sudo make install
-
Install the dependencies:
npm install
-
Copy and edit the configuration file:
cp config_local.coffee.example config_local.coffee
-
Run the application with:
node app.js
- To test it you can use the test application
post_catcher.js
. It starts a node app that registers a hook on the webhooks app and prints all the events it receives. Open the file atextra/post_catcher.js
and edit the salt and domain/IP of your server and then run it withnode extra/post_catcher.js
. Create meetings and do things on your BigBlueButton server and the events should be shown in the post_catcher.
Another option is to create hooks with the API Mate and catch the callbacks with PostCatcher.