際際滷

際際滷Share a Scribd company logo
Facebook API: Getting Started
Nichol Dimalanta
Overview
 Intro
 Process
 Nodes, Edges, Fields
 User Access Tokens and Long-Access Tokens
 Permissions
 The Graph API Explorer
Process
Process Flow (App Creation)
 Go to Developers.facebook.com
 Create / setup project
 Send invitations
 Pick desired API / app permissions
 Review Platform Policy
 Optional: Submit to Business Verification
Process
 Once working, Submit to App Verification
 Apps features are now public
Facebook and App Policies
 developers.facebook.com/policy
 3.9 Protect Data: Dont sell, license, or purchase any
data obtained from us or our services
 3.12 If acquired by or merge with a third party, you
can continue to use our data within your app
 4.4 Encourage Proper Use: only incentivize log-ins,
app page promotions, place check-ins, use of
Messenger to communicate with your Business
 Apps must provide privacy policy when
collecting information
Process Flow (App Users)
 User logs in Facebook through your app
 User is shown the apps permissions to be
reviewed and accepts/modifies/denies these
permissions
Process Flow (App Users)
 User Access token containing users
permissions will be given
 App queries for/stores needed account
information
Nodes, Edges, Fields
Nodes
 Main Source of information
 Contains an ID
 Contains Edges, Fields
 May be found inside Edges
 Example: User, Pages, Posts
Nodes
* /me = shorthand for current app users ID
Edges
 Properties of Nodes that contains a collection
of objects / nodes
 Branches
Edges
Edges
Fields
 The other properties of a node
 Leaves
Fields
Access Tokens
Tokens
Kinds Of Access Tokens
 User Access  user account, managed pages,
timeline, friends
 Page Access  Page timeline, scheduled
posting,
 App Access  updating of app settings
 Long Access  User Access with 3 months
shelf life
Permissions
Permissions
The API Explorer
END

More Related Content

Facebook API

  • 1. Facebook API: Getting Started Nichol Dimalanta
  • 2. Overview Intro Process Nodes, Edges, Fields User Access Tokens and Long-Access Tokens Permissions The Graph API Explorer
  • 4. Process Flow (App Creation) Go to Developers.facebook.com Create / setup project Send invitations Pick desired API / app permissions Review Platform Policy Optional: Submit to Business Verification Process Once working, Submit to App Verification Apps features are now public
  • 5. Facebook and App Policies developers.facebook.com/policy 3.9 Protect Data: Dont sell, license, or purchase any data obtained from us or our services 3.12 If acquired by or merge with a third party, you can continue to use our data within your app 4.4 Encourage Proper Use: only incentivize log-ins, app page promotions, place check-ins, use of Messenger to communicate with your Business Apps must provide privacy policy when collecting information
  • 6. Process Flow (App Users) User logs in Facebook through your app User is shown the apps permissions to be reviewed and accepts/modifies/denies these permissions
  • 7. Process Flow (App Users) User Access token containing users permissions will be given App queries for/stores needed account information
  • 9. Nodes Main Source of information Contains an ID Contains Edges, Fields May be found inside Edges Example: User, Pages, Posts
  • 10. Nodes * /me = shorthand for current app users ID
  • 11. Edges Properties of Nodes that contains a collection of objects / nodes Branches
  • 12. Edges
  • 13. Edges
  • 14. Fields The other properties of a node Leaves
  • 18. Kinds Of Access Tokens User Access user account, managed pages, timeline, friends Page Access Page timeline, scheduled posting, App Access updating of app settings Long Access User Access with 3 months shelf life
  • 22. END