You are on page 1of 30

By Vipula S Anandapiya

#vipulasa
Vipula.anandapiya@team1.cms.lk
v.s.anandapiya@gmail.com
Facebook
Facebook platform

Facebook platform

Apps on FB

Social plugins

FQL – Facebook Query Language (Before v2.0)


Graph API

Key points

The social graph represents You, Your buisness


and your customers


The Facebook platform allows you to intergrate

with the social graph


Applications are the center of the platform

Social design

Utilize the community


Build conversations

Curate identities

Platform building blocks
Applications

Pages Page Tabs Canvas Web sites

Mobile Desktop & Devices

Graph API & FQL


Social
Dialogs
plugins
Authentication & Permissions

Social Graph and Social Channels


The social graph
Demo
Facebook Pages
How applications access social graph
Demo
Create and application
Canvas
Page tab
Web site
Social plugins
Dialogs
Share Dialog

Feed Dialog
Demo
Meta data and JS functionality
Adding like box / Comment block
Adding social dialogs
The Graph API
OG API Authentication
•Access user data, requires authentication

•User Auth dialog

•Request specific permissions

•Facebook handles authenticating the user

•Your app gets an access token

•Token is used to authenticate API calls

•https://developers.facebook.com/docs/facebook-login/v2.3
The Graph API
•HTTP-based API

•API is accessed from graph.facebook.com

•HTTP methods indicated intent


- GET  Read
- POST  Save / Update
- DELETE  Remove / delete

•Read / Write access depend on permissions


Graph objects
•Every social graph object has a unique ID

•E.g www.facebook.com/CMS.Pvt.Ltd - 222485661116063 or


CMS.Pvt.Ltd

•Access objects using their ID as the first path components

•E.g /222485661116063 or / CMS.Pvt.Ltd


Demo
Graph API
Summary
Document / Demos
•https://developers.facebook.com/docs

API Explorer
•https://developers.facebook.com/tools/explorer

SDK information
•https://developers.facebook.com/ - Go to APIs and SDKs under
Docs
Q&A
Pizza anyone ? ;)

You might also like