Facebook Platform - Tech

Loading...

Flash Player 9 (or above) is needed to view presentations.
We have detected that you do not have it on your computer. To install it, go here.

1 comments

Comments 1 - 1 of 1 previous next Post a comment

  • + abhishek_desai Abhishek Desai 3 years ago
    nice presentation....can i get a downloadable version of this ??

Post a comment
Embed Video
Edit your comment Cancel

20 Favorites & 1 Group

Facebook Platform - Tech - Presentation Transcript

  1. Building Applications on Facebook Platform David Zhuang Entrepreneur’s Playfield
  2. Overview
    • Open Distribution to Millions of Users
    • Capabilities / Integration Points
    • Architecture
    • Components
    • Resources
  3. Open Distribution
    • Build It, And They Are Already There
      • Developers: Equal Footing with Organizations
    • Platform Is Completely Open
    • Automated Viral Distribution Engine: News Feed
    • New Model for Entrepreneurs
      • Experiment: Low Investment (Time/Money)
      • If It Works, Ramp up
  4. Capabilities / Integration Points
    • Product Directory
    • About
    • Left Nav
    • Facebook Canvas Pages
      • Home
      • User Dashboard
      • Settings
    • Profile
      • Profile Box
      • Profile Action Links
    • Privacy Settings
    • News Feed
    • Alerts
    • Message Attachments
    • Requests
  5. Canvas: Embedded Application Left Nav Canvas
  6. Home Page: Viral Distribution Left Nav News Feed
  7. Profile: Viral Distribution Left Nav News Feed Profile Box
  8. Architecture: Traditional Web App Web/App Server Database 1. HTTP Request 2. HTML Response SQL Query Data Your Server
  9. Architecture: Facebook App - Canvas Web/App Server Database 1. HTTP 6. HTML SQL Query Data Your Server Facebook Server 2. HTTP / REST 3. API / FQL 4. API Rsp 5. FBML
  10. Architecture: Facebook App - Profile 0. API / FBML (Pushed Separately) Web/App Server Database 1. HTTP 2. HTML SQL Query Data Your Server Facebook Server
  11. Components
    • API
      • Web Service API
      • Client Library:
        • Official: PHP, Java
        • Unofficial: Perl, Python, Ruby, VB.NET, and others
    • FQL
      • Similar to SQL
      • Access to user profile, friend, group, event, and photo
    • FBML
      • Similar to HTML
      • Subset of HTML + Proprietary Extensions
  12. API
    • Web Service API: Well Documented
    • API Client Library
      • Mostly Covered by Web Service API Documentation
      • For the Rest, Read Code (Only 2 Files)
        • facebook.php
        • facebookapi_php5_restlib.php
    • Access Facebook User Data
      • Profile, Friends, Group, Event, Photo, etc.
    • Update User Views
      • Profile, Feed, etc.
  13. API Client Lib Function Examples
    • $facebook->redirect($url)
    • $facebook->require_login() / $facebook->require_add()
    • $facebook->get_login_url() / $facebook->get_add_url()
    • $facebook->api_client->feed_publishStoryToUser($title, $body, ...)
    • $facebook->api_client->friends_get()
    • $facebook->api_client->friends_getAppUsers()
    • $facebook->api_client->groups_get ($uid=null, $gids=null)
    • $facebook->api_client->profile_setFBML($markup, $uid=null)
  14. FQL
    • Very Similar to SQL
      • Select From One Table At a Time, No Join
      • Query Must Be Indexable
    • Access Facebook Database Tables
      • user, friend, group, group_member, event, event_member, photo, album, photo_tag
  15. FBML
    • A Subset of HTML
      • Excluded: <script>
      • Limited: <style> (internal CSS only)
      • Cached: <img>
      • Hidden Fields Added (For Security): <form>
    • Proprietary Extensions
      • Markup Tags: UI Elements
      • Procedural Tags: Control Program Flow
    • Mock Ajax
  16. FBML Tags Example: Markup Tags Code: <fb:dashboard> < fb:action href=&quot;new.php&quot;>Create a new photo album </fb:action> < fb:action href=&quot;you.php&quot;>Photos of You </fb:action> </fb:dashboard> Preview:
  17. FBML Tags Example: Procedural Tags Code: < fb:if-can-see uid=&quot;12345&quot; what=&quot;profile&quot;>     You're allowed to see 12345's profile, chum!         <fb:else>         No profile for you!     </fb:else> </fb:if-can-see>
  18. Resources
    • Facebook Platform Documentation
      • Anatomy of a Facebook Application
      • Step-to-Step Guide to Creating an Application
    • Facebook Platform Wiki
      • Getting Started Guide
      • Basic Application Architecture
    • Facebook Developer Forum
      • Get Your Questions Answered
  19. Success Factors
    • Product Definition
      • Social in Nature
      • Unsatisfied Needs
    • Product Design/Development
      • Need a Hacker in Your Team: Non-Trivial Project
    • Scalability Plan
      • Much Shorter Ramp-up Time
    • Monetization Strategy
    • You Need a Team!
  20. Contact Info David Zhuang [email_address]

+ davidzhuangdavidzhuang, 3 years ago

custom

12523 views, 20 favs, 3 embeds more stats

Facebook Platform technology overview - from an ent more

More info about this document

CC Attribution License

Go to text version

  • Total Views 12523
    • 12518 on SlideShare
    • 5 from embeds
  • Comments 1
  • Favorites 20
  • Downloads 111
Most viewed embeds
  • 3 views on http://wildfire.gigya.com
  • 1 views on http://s3.amazonaws.com
  • 1 views on http://chrisbernard.blogs.com

more

All embeds
  • 3 views on http://wildfire.gigya.com
  • 1 views on http://s3.amazonaws.com
  • 1 views on http://chrisbernard.blogs.com

less

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate. If needed, use the feedback form to let us know more details.

Cancel
File a copyright complaint
Having problems? Go to our helpdesk?

Categories

Groups / Events