Facebook Open Stream API - Facebook Developer Garage Dhaka

Post on 17-May-2015

7.004 views 0 download

Tags:

description

Introduction to Facebook Open Stream API - presented in Facebook Developer Garage Dhaka.

Transcript of Facebook Open Stream API - Facebook Developer Garage Dhaka

Facebook Open Stream API

Md Emran HasanCo-founder, CTORight Brain Solution Ltd.

Facebook Developer Garage Dhaka

August 16, 2009

Open Stream API

• Allows 3rd party developers use the Facebook’s

activity stream inside their own applications and

services.

• Applications will be able to filter and remix the stream

– Status updates

– Photos

– Videos

– Notes

– Likes

– Comments

Live Stream Widget• Embeddable Social Widget

• Show on App Canvas or Profile Tab using fb:live-stream FBML tag

• Show on external website using

• Easy copy-and-paste set-up via http://www.facebook.com/developers/wizard.php

Live Stream Box - Code

<fb:live-stream width="400" height="500">

</fb:live-stream>

Things to consider• Facebook Authentication

• Stream Permission

• Reading Stream Stories

• Publishing Stream Stories

Facebook Authentication• Facebook Application

• Facebook Connect (on 3rd party sites)

Stream Permission• read_stream

• publich_stream

• methods:

– fb:prompt-permission tag

– FB.Connect.showPermissionDialog

References

• http://wiki.developers.facebook.com/index.php/Using_the_Open_Stream_API

• http://wiki.developers.facebook.com/index.php/Facebook_Connect_Tutorial1

• http://wiki.developers.facebook.com/index.php/JS_API_M_FB.ApiClient.stream_get

• http://wiki.developers.facebook.com/index.php/JS_API_M_FB.Connect.showPermissionDialog

Quick Start Example

http://www.phpfour.com/fbstream

Follow me on Twitter:http://twitter.com/phpfour

Telephone: +880 173 0053050

Email:emran@rightbrainsolution.com Address:Right Brain Solution Ltd.Flat B4, House 45, Road 27, Block A, Banani, Dhaka 1213, Bangladesh.

Web:http://www.phpfour.comhttp://www.rightbrainsolution.com

 

Contact Questions