Facebook Open Stream API - Facebook Developer Garage Dhaka

  • 6,747 views
Uploaded on

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

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

More in: Technology , Education
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
No Downloads

Views

Total Views
6,747
On Slideshare
0
From Embeds
0
Number of Embeds
5

Actions

Shares
Downloads
89
Comments
1
Likes
8

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

  • 1. Facebook Open Stream API Md Emran Hasan Co-founder, CTO Right Brain Solution Ltd. Facebook Developer Garage Dhaka August 16, 2009
  • 2. 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
  • 3. 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
  • 4. Live Stream Box - Code <fb:live-stream width="400" height="500"> </fb:live-stream>
  • 5. Things to consider • Facebook Authentication • Stream Permission • Reading Stream Stories • Publishing Stream Stories
  • 6. Facebook Authentication • Facebook Application • Facebook Connect (on 3rd party sites)
  • 7. Stream Permission • read_stream • publich_stream • methods: – fb:prompt-permission tag – FB.Connect.showPermissionDialog
  • 8. Reading Stream Stories • stream.get (PHP) and stream_get (JS) • stream.getComments (PHP) and stream_getComments (JS) • stream.getFilters (PHP) and stream_getFilters (JS)
  • 9. Publishing Stream Stories • stream.publish / stream.remove • FB.Connect.streamPublish • stream.addComment / stream.removeComment • stream.addLike / stream.removeLike
  • 10. 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
  • 11. Quick Start Example http://www.phpfour.com/fbstream
  • 12. Contact Questions 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.com http://www.rightbrainsolution.com