From Facebook Developer Wiki (FbDevWiki.com)
Jump to: navigation, search

Official docs for fb:live-stream



Renders as:


Name Type Description Default
event_app_id Facebook ID application, page, event Facebook ID defaults to fb:app_id, if included in current page via the Open Graph protocol
width integer the width of the plugin in pixels 400
height integer the height of the plugin in pixels 500
xid string If you have multiple live stream boxes on the same page, specify a unique `xid` for each. none
via_url url The URL that users are redirected to when they click on your app name on a status your Connect URL
always_post_to_friends boolean If set, all user posts will always go to their profile. This option should only be used when users' posts are likely to make sense outside of the context of the event. false

Non-SDK method

It's also possible to include the plugin on a page without having to load the Javascript SDK and parse XFBML (which is likely much faster). You can include an iframe that loads http://www.facebook.com/plugins/livefeed.php and you can include the same parameters as above but as GET variables. app_id is required so the plugin knows which application/page/website this stream is associated with.

iframe example:

<iframe src="http://www.facebook.com/plugins/livefeed.php?app_id=118381521562237"
 scrolling="no" frameborder="0" 
 style="border:none; overflow:hidden; width:400px; height:500px;" 

Also See

Personal tools
Graph API