SlideShare a Scribd company logo
1 of 22
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
 App’s 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 app’s permissions to be
reviewed and accepts/modifies/denies these
permissions

Process Flow (App Users)
 User Access token containing user’s
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 user’s 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

Similar to Facebook API

Dev Dives: Master advanced authentication and performance in Productivity Act...
Dev Dives: Master advanced authentication and performance in Productivity Act...Dev Dives: Master advanced authentication and performance in Productivity Act...
Dev Dives: Master advanced authentication and performance in Productivity Act...UiPathCommunity
 
Privacy on Mobile Apps
Privacy on Mobile AppsPrivacy on Mobile Apps
Privacy on Mobile AppsMays Mrayyan
 
Android Marshmallow APIs and Changes
Android Marshmallow APIs and ChangesAndroid Marshmallow APIs and Changes
Android Marshmallow APIs and ChangesMalwinder Singh
 
2018 iOS Mobile App Promotion Strategy Template
2018 iOS Mobile App Promotion Strategy Template2018 iOS Mobile App Promotion Strategy Template
2018 iOS Mobile App Promotion Strategy Templateunfunnel
 
iOS Mobile App Promotion Strategy 2014
iOS Mobile App Promotion Strategy 2014iOS Mobile App Promotion Strategy 2014
iOS Mobile App Promotion Strategy 2014Joey Barker
 
Peak Ace on Air #31 - Apple's iOS 14.5 Update
Peak Ace on Air #31 - Apple's iOS 14.5 UpdatePeak Ace on Air #31 - Apple's iOS 14.5 Update
Peak Ace on Air #31 - Apple's iOS 14.5 UpdatePaul Drägert
 
How to optimize your app’s discovery & its promotion on the App Store
How to optimize your app’s discovery & its promotion on the App StoreHow to optimize your app’s discovery & its promotion on the App Store
How to optimize your app’s discovery & its promotion on the App StoreThomas Bensoussan
 
Get a 360° View From Your Apptivo CRM
Get a 360° View From Your Apptivo CRMGet a 360° View From Your Apptivo CRM
Get a 360° View From Your Apptivo CRMApptivo
 
Mobile Apps vs. Mobile Web
Mobile Apps vs. Mobile WebMobile Apps vs. Mobile Web
Mobile Apps vs. Mobile WebBranded3
 
itslearning App Library dag voor partners - Tim Remmers - 12 juni 2012
itslearning App Library dag voor partners - Tim Remmers - 12 juni 2012itslearning App Library dag voor partners - Tim Remmers - 12 juni 2012
itslearning App Library dag voor partners - Tim Remmers - 12 juni 2012itslearning Nederland
 
20120612 itslearning app library dag
20120612 itslearning app library dag20120612 itslearning app library dag
20120612 itslearning app library dagTim Remmers
 
Designing Product As A Platform
Designing Product As A PlatformDesigning Product As A Platform
Designing Product As A Platformanandkhisti
 
Designing your Product as a Platform
Designing your Product as a PlatformDesigning your Product as a Platform
Designing your Product as a PlatformMicah Laaker
 
#Instagram API Get visibility you always wanted
#Instagram API   Get visibility you always wanted#Instagram API   Get visibility you always wanted
#Instagram API Get visibility you always wantedKetan Raval
 
Monetize The Twitter API
Monetize The Twitter APIMonetize The Twitter API
Monetize The Twitter APISachin Rekhi
 

Similar to Facebook API (20)

FacebookAPIWhitePaper
FacebookAPIWhitePaperFacebookAPIWhitePaper
FacebookAPIWhitePaper
 
Facebook Apps
Facebook AppsFacebook Apps
Facebook Apps
 
Facebook apps
Facebook appsFacebook apps
Facebook apps
 
Dev Dives: Master advanced authentication and performance in Productivity Act...
Dev Dives: Master advanced authentication and performance in Productivity Act...Dev Dives: Master advanced authentication and performance in Productivity Act...
Dev Dives: Master advanced authentication and performance in Productivity Act...
 
Privacy on Mobile Apps
Privacy on Mobile AppsPrivacy on Mobile Apps
Privacy on Mobile Apps
 
Android Marshmallow APIs and Changes
Android Marshmallow APIs and ChangesAndroid Marshmallow APIs and Changes
Android Marshmallow APIs and Changes
 
Littning _Offers
Littning _OffersLittning _Offers
Littning _Offers
 
2018 iOS Mobile App Promotion Strategy Template
2018 iOS Mobile App Promotion Strategy Template2018 iOS Mobile App Promotion Strategy Template
2018 iOS Mobile App Promotion Strategy Template
 
iOS Mobile App Promotion Strategy 2014
iOS Mobile App Promotion Strategy 2014iOS Mobile App Promotion Strategy 2014
iOS Mobile App Promotion Strategy 2014
 
Peak Ace on Air #31 - Apple's iOS 14.5 Update
Peak Ace on Air #31 - Apple's iOS 14.5 UpdatePeak Ace on Air #31 - Apple's iOS 14.5 Update
Peak Ace on Air #31 - Apple's iOS 14.5 Update
 
How to optimize your app’s discovery & its promotion on the App Store
How to optimize your app’s discovery & its promotion on the App StoreHow to optimize your app’s discovery & its promotion on the App Store
How to optimize your app’s discovery & its promotion on the App Store
 
Get a 360° View From Your Apptivo CRM
Get a 360° View From Your Apptivo CRMGet a 360° View From Your Apptivo CRM
Get a 360° View From Your Apptivo CRM
 
Mobile Apps vs. Mobile Web
Mobile Apps vs. Mobile WebMobile Apps vs. Mobile Web
Mobile Apps vs. Mobile Web
 
itslearning App Library dag voor partners - Tim Remmers - 12 juni 2012
itslearning App Library dag voor partners - Tim Remmers - 12 juni 2012itslearning App Library dag voor partners - Tim Remmers - 12 juni 2012
itslearning App Library dag voor partners - Tim Remmers - 12 juni 2012
 
20120612 itslearning app library dag
20120612 itslearning app library dag20120612 itslearning app library dag
20120612 itslearning app library dag
 
Designing Product As A Platform
Designing Product As A PlatformDesigning Product As A Platform
Designing Product As A Platform
 
Designing your Product as a Platform
Designing your Product as a PlatformDesigning your Product as a Platform
Designing your Product as a Platform
 
#Instagram API Get visibility you always wanted
#Instagram API   Get visibility you always wanted#Instagram API   Get visibility you always wanted
#Instagram API Get visibility you always wanted
 
Monetize The Twitter API
Monetize The Twitter APIMonetize The Twitter API
Monetize The Twitter API
 
Mvp assignment
Mvp assignmentMvp assignment
Mvp assignment
 

Recently uploaded

Science 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsScience 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsKarinaGenton
 
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...M56BOOKSTORE PRODUCT/SERVICE
 
Concept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.CompdfConcept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.CompdfUmakantAnnand
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Sapana Sha
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Celine George
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxmanuelaromero2013
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application ) Sakshi Ghasle
 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxRoyAbrique
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxheathfieldcps1
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxSayali Powar
 
URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppCeline George
 
Class 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdfClass 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdfakmcokerachita
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docxPoojaSen20
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxpboyjonauth
 
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfEnzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfSumit Tiwari
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptxVS Mahajan Coaching Centre
 

Recently uploaded (20)

Science 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsScience 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its Characteristics
 
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
 
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
 
Concept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.CompdfConcept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.Compdf
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptx
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application )
 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
 
URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website App
 
Class 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdfClass 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdf
 
9953330565 Low Rate Call Girls In Rohini Delhi NCR
9953330565 Low Rate Call Girls In Rohini  Delhi NCR9953330565 Low Rate Call Girls In Rohini  Delhi NCR
9953330565 Low Rate Call Girls In Rohini Delhi NCR
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docx
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptx
 
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfEnzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
 

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  App’s 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 app’s permissions to be reviewed and accepts/modifies/denies these permissions 
  • 7. Process Flow (App Users)  User Access token containing user’s 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 user’s 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