Returns the Server’s ID
Bebo.Server.getId();
>"54a371caeaa521fcb1da71ca69a467fd"
returns the unique id of the room
var room_id = Bebo.Room.getId();
You can find it here: https://github.com/bebo/bebo-react
npm install bebo-react — save
The emitEvent() function allows communication between clients. Data passed through this function will be received by all clients who are in the same room. This should be paired with the onEvent function below.
The getRoster() function return a list of users that are members of your server.
Bebo.getRoster(function(err, resp){ if(err){ return console.log('error getting roster', err) }…
The previewOn() function will trigger the native camera preview
Bebo.previewOn('front'); or Bebo.previewOn('back');
The save() function will save the data within params to our database. If the table that you pass does not yet…
The users() function will notify the specific users you sepcify
BeboSDK is a JavaScript library that enables deep functionality into the Bebo App. It allows you to create feature rich applications that can be installed into your server. This allows you to create any room for you and your friends.