We’ll be using Bebo, a mobile platform that lets you take websites and wrap social layers around it. Find out more info HERE
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
This post assumes you’ve built a website before and are familiar with HTML, CSS and JavaScript. We will be using React.js as our tool of choice, so it will obviously help you…
We’ve been building social apps (Blab and Bebo Messenger) for the last couple years. During that time, we created a platform to help us build these apps. Recently we decided to open up our platform and let anyone build their own Social Community.
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');