Facebook Launches Live Stream For All Websites And Developers

Remeber CNN’s live stream of the inauguration? How about the TNT’s live stream of the NBA All Star game? All services implemented the Facebook Connect-enabled live stream widget and now all websited and developers can have a version of their own. Later today Facebook will announce details about this new feature which will make it easy for instant conversations to take place across the web.

Ultimately the Live Stream Box is not just for live streaming events but that’s what it’s intended for. Facebook has released instructions about how to embed the service into your site or application. What’s most impressive about this stream is that as Facebook states, “the Live Stream Box can handle a very substantial load, supporting millions of simultaneous users.”

One downside of using the Live Stream Box is that content posted to it will not be archived or accessible for any APIs. Essentially it’s a one-use chat room that you can throw away at a later point. The benefit of implementing it is that is should increase the level of engagement on your site and increase the amount of time that users are staying. Implementing the service is relatively easy for anybody with basic knowledge of HTML and Javascript.

By adding the following lines of code to your website, you’ll be able to get the live stream implemented:

 <script src="http://static.ak.connect.facebook.com/js/api_lib/v0.4/FeatureLoader.js.php" type="text/javascript"></script> <fb:live-stream width="<widthInPixels>" height="<heightInPixels>"></fb:live-stream> <script type="text/javascript"> FB.init("YOUR_API_KEY_HERE", "<path from web root>/xd_receiver.htm"); </script> 

While you’ll also need to add the xml name space that references Facebook’s markup language, it should be relatively painless. I’ve gone ahead and embedded a version of the live stream widget within this post.

Recommended articles