SlideShare ist ein Scribd-Unternehmen logo
1 von 41
Downloaden Sie, um offline zu lesen
Facebook Developer Garage
         Kampala
           Charlie Cheever
    Platform Engineering, Facebook
Review: A Web App
    pretty simple
A Facebook App - What do you Get?

•   Authentication for free. Less code for you to write, less work for
    users to login, a realer concept of identity

•   Data about the people who use your app

    •   names, profile pictures, interests, favorite books, favorite movies

    •   ... and friends

•   Messaging (notifications, requests) -> Distribution

•   Convenient widgets. Friend selector, mp3 player, etc.

•   You can show ads on your application and keep all those revenues
Some Examples of What’s Being
Done with the Facebook Platform
TechCrunch
(technology blog)
TechCrunch
TechCrunch
iLike
(social music)
Flixster
(social movies)
Prolific
(games!)
Facebook Platform Technology



•   API


• FBML
Facebook API
•   Read data from Facebook

    •   about users, ex. names, profile pictures, favorite books,
        favorite movies, etc.

    •   other data like photos, groups, events, etc.

    •   almost all the data that’s available on Facebook

•   Messaging - sending e-mails to users, sending Facebook
    requests, sending Facebook notifications

•   Publishing news feed stories
FBML
•   Basically HTML with a few extras

•   Sanitary - Safe for Facebook to display anywhere

•   Makes it easy to efficiently embed social data

•   Provides convenient widgets like friend
    selectors
How Facebook Apps Work

• Facebook Connect Applications
• FBML Canvas Applications
• IFrame Canvas Applications

• Big Question: How do we efficiently involve
  a third party when a user loads a webpage?
FBML Canvas Apps
FBML Canvas Apps
IFrame Canvas Apps
IFrame Canvas Apps
     Using XFBML
IFrame Canvas Apps
Facebook Connect Apps

                               1. initial request from user


                                                                                              Your Server
 User
                                4. regular response from your server


                                             2. server-side API call to Facebook (optional)



                                           5. JS API Call to Facebook




                                                                                              3. server-side API response (optional)

        6. JS API response from Facebook
                                                            Facebook
Facebook Connect Apps
Getting Your Feet Wet
             Some Simple Examples



•   http://apps.facebook.com/devgaragekampala/

•   A Facebook app that I’ve set up that will let
    you test out snippets of code and get some
    experience with the API and FBML
Examples
•   http://apps.facebook.com/devgaragekampala/

• Hello, Uganda!
• Hello, Mark Zuckerberg
• Hello friends!
• Pick a friend
• Someone Else’s Code
Setting Up A Real App


• We’ll use a free hosting service called
  AppJet in this example but you can use any
  kind of hosting.
• AppJet is a free, web-based hosting service
• Great for prototyping websites with Javascript
• Has built-in Facebook support
Your    Preview
program
First
Program
Remember
this name.
Now
we have
 a real
website
http://www.facebook.com/developers
Remember this Canvas URL
Congratulations!
              You now have a Facebook application.




Write these
keys down
Add the following to your app.




    import(quot;facebookquot;);
    fb.init();
    print(quot;Hello Kampala!quot;);
Type in your Canvas url




  Paste in your API Key
       and Secret
Clicking
  Publish will
   take your
application live
Web Resources
•   FB Developers Wiki: http://wiki.developers.facebook.com/

•   API Test Console: http://developers.facebook.com/tools.php?api

•   FBML Test Console: http://developers.facebook.com/tools.php?fbml

•   AppJet (free, easy hosting): http://www.appjet.com/

•   FB Developer App (for setting up an app): http://www.facebook.com/
    developers/

•   Facebook Developer Site: http://developers.facebook.com/
Questions?

charlie@facebook.com

Weitere ähnliche Inhalte

Was ist angesagt?

Was ist angesagt? (20)

Building resuable and customizable Vue components
Building resuable and customizable Vue componentsBuilding resuable and customizable Vue components
Building resuable and customizable Vue components
 
Mastering Mobile SEO for Your Website and Native App Content
Mastering Mobile SEO for Your Website and Native App ContentMastering Mobile SEO for Your Website and Native App Content
Mastering Mobile SEO for Your Website and Native App Content
 
RupyTuesday - Facebook
RupyTuesday - FacebookRupyTuesday - Facebook
RupyTuesday - Facebook
 
PhoneGap/Cordova
PhoneGap/CordovaPhoneGap/Cordova
PhoneGap/Cordova
 
Google AMP (Accelerated Mobile Pages)
Google AMP (Accelerated Mobile Pages)Google AMP (Accelerated Mobile Pages)
Google AMP (Accelerated Mobile Pages)
 
What is FED
What is FEDWhat is FED
What is FED
 
Vue storefront London PWA meetup
Vue storefront London PWA meetupVue storefront London PWA meetup
Vue storefront London PWA meetup
 
Google's AMP project for web users
Google's AMP project for web usersGoogle's AMP project for web users
Google's AMP project for web users
 
Instagram photos in your tablet photo frame [Solved]
Instagram photos in your tablet photo frame [Solved]Instagram photos in your tablet photo frame [Solved]
Instagram photos in your tablet photo frame [Solved]
 
PhoneGap Session at Multi-Mania.be 2013
PhoneGap Session at Multi-Mania.be 2013PhoneGap Session at Multi-Mania.be 2013
PhoneGap Session at Multi-Mania.be 2013
 
Website Design Dos and Don’ts for a Successful Online Presence
Website Design Dos and Don’ts  for a Successful Online PresenceWebsite Design Dos and Don’ts  for a Successful Online Presence
Website Design Dos and Don’ts for a Successful Online Presence
 
Navi-Mumbai/Mumbai Salesforce Developer user group Inaugural meetup
Navi-Mumbai/Mumbai Salesforce Developer user group Inaugural meetupNavi-Mumbai/Mumbai Salesforce Developer user group Inaugural meetup
Navi-Mumbai/Mumbai Salesforce Developer user group Inaugural meetup
 
Introduction to Adobe Brackets
Introduction to Adobe BracketsIntroduction to Adobe Brackets
Introduction to Adobe Brackets
 
Shiny Agency's Facebook Development Guidelines
Shiny Agency's Facebook Development GuidelinesShiny Agency's Facebook Development Guidelines
Shiny Agency's Facebook Development Guidelines
 
Why Deep Linking is the Next Big Thing: App Indexing - SMX East 2015
Why Deep Linking is the Next Big Thing: App Indexing - SMX East 2015Why Deep Linking is the Next Big Thing: App Indexing - SMX East 2015
Why Deep Linking is the Next Big Thing: App Indexing - SMX East 2015
 
Wordpress to Facebook and Back Again
Wordpress to Facebook and Back AgainWordpress to Facebook and Back Again
Wordpress to Facebook and Back Again
 
WordPress SEO in 2014 - WordCamp Baltimore 2014
WordPress SEO in 2014 - WordCamp Baltimore 2014WordPress SEO in 2014 - WordCamp Baltimore 2014
WordPress SEO in 2014 - WordCamp Baltimore 2014
 
Optimizing for Change (Henrik Joreteg)
Optimizing for Change (Henrik Joreteg)Optimizing for Change (Henrik Joreteg)
Optimizing for Change (Henrik Joreteg)
 
Introduction to Facebook Platform by Andres Granda
Introduction to Facebook Platform by Andres GrandaIntroduction to Facebook Platform by Andres Granda
Introduction to Facebook Platform by Andres Granda
 
WordPress SEO & Optimisation
WordPress SEO & OptimisationWordPress SEO & Optimisation
WordPress SEO & Optimisation
 

Andere mochten auch

Staying Lean with Amazon Web Services
Staying Lean with Amazon Web ServicesStaying Lean with Amazon Web Services
Staying Lean with Amazon Web Services
Amazon Web Services
 
Day In The Life Of A2 Z Oc
Day In The Life Of A2 Z OcDay In The Life Of A2 Z Oc
Day In The Life Of A2 Z Oc
jamescsmith
 
Senior Systems Engineering ( Microsoft) .
Senior Systems Engineering ( Microsoft) .Senior Systems Engineering ( Microsoft) .
Senior Systems Engineering ( Microsoft) .
chalikars
 
#win8acad : Tiles and notifications
#win8acad : Tiles and notifications#win8acad : Tiles and notifications
#win8acad : Tiles and notifications
Frederik De Bruyne
 

Andere mochten auch (20)

Staying Lean with Amazon Web Services
Staying Lean with Amazon Web ServicesStaying Lean with Amazon Web Services
Staying Lean with Amazon Web Services
 
Day In The Life Of A2 Z Oc
Day In The Life Of A2 Z OcDay In The Life Of A2 Z Oc
Day In The Life Of A2 Z Oc
 
Verteilte Versionskontrolle mit Git
Verteilte Versionskontrolle mit GitVerteilte Versionskontrolle mit Git
Verteilte Versionskontrolle mit Git
 
Senior Systems Engineering ( Microsoft) .
Senior Systems Engineering ( Microsoft) .Senior Systems Engineering ( Microsoft) .
Senior Systems Engineering ( Microsoft) .
 
Emergent Energy Futures
Emergent Energy FuturesEmergent Energy Futures
Emergent Energy Futures
 
Getting Started with Microsoft Office 365
Getting Started with Microsoft Office 365Getting Started with Microsoft Office 365
Getting Started with Microsoft Office 365
 
[Jun AWS 101] Running Lean on AWS
[Jun AWS 101] Running Lean on AWS[Jun AWS 101] Running Lean on AWS
[Jun AWS 101] Running Lean on AWS
 
Rakuten and Microsoft talk DevOps in Real World
Rakuten and Microsoft talk DevOps in Real WorldRakuten and Microsoft talk DevOps in Real World
Rakuten and Microsoft talk DevOps in Real World
 
Software Language Design & Engineering: Mobl & Spoofax
Software Language Design & Engineering: Mobl & SpoofaxSoftware Language Design & Engineering: Mobl & Spoofax
Software Language Design & Engineering: Mobl & Spoofax
 
Transforming Software Development
Transforming Software Development Transforming Software Development
Transforming Software Development
 
#win8acad : Tiles and notifications
#win8acad : Tiles and notifications#win8acad : Tiles and notifications
#win8acad : Tiles and notifications
 
Chowdhury webtech
Chowdhury webtechChowdhury webtech
Chowdhury webtech
 
Rethinking The Business Benefits of The Cloud
Rethinking The Business Benefits of The CloudRethinking The Business Benefits of The Cloud
Rethinking The Business Benefits of The Cloud
 
Empirical Software Engineering at Microsoft Research
Empirical Software Engineering at Microsoft ResearchEmpirical Software Engineering at Microsoft Research
Empirical Software Engineering at Microsoft Research
 
Can we induce change with what we measure?
Can we induce change with what we measure?Can we induce change with what we measure?
Can we induce change with what we measure?
 
Feedback on AWS re:invent 2016
Feedback on AWS re:invent 2016Feedback on AWS re:invent 2016
Feedback on AWS re:invent 2016
 
DevDay 2016: Dave Farley - Acceptance testing for continuous delivery
DevDay 2016: Dave Farley - Acceptance testing for continuous deliveryDevDay 2016: Dave Farley - Acceptance testing for continuous delivery
DevDay 2016: Dave Farley - Acceptance testing for continuous delivery
 
DevDay 2016: Dave Farley - The Rationale for Continuous Delivery
DevDay 2016: Dave Farley - The Rationale for Continuous DeliveryDevDay 2016: Dave Farley - The Rationale for Continuous Delivery
DevDay 2016: Dave Farley - The Rationale for Continuous Delivery
 
It transformation - DevOps Day - 02/02/2017
It transformation - DevOps Day - 02/02/2017It transformation - DevOps Day - 02/02/2017
It transformation - DevOps Day - 02/02/2017
 
DevDay 2016: Artur Speth - DevOps - Microsoft Developer Divisions Weg ins näc...
DevDay 2016: Artur Speth - DevOps - Microsoft Developer Divisions Weg ins näc...DevDay 2016: Artur Speth - DevOps - Microsoft Developer Divisions Weg ins näc...
DevDay 2016: Artur Speth - DevOps - Microsoft Developer Divisions Weg ins näc...
 

Ähnlich wie Charlie Cheever Facebook Developer Garage Uganda

funP 麻吉 開發者俱樂部十月份聚會
funP 麻吉 開發者俱樂部十月份聚會funP 麻吉 開發者俱樂部十月份聚會
funP 麻吉 開發者俱樂部十月份聚會
Nathan Chiu
 
Peepcode facebook-2-rails on facebook
Peepcode facebook-2-rails on facebookPeepcode facebook-2-rails on facebook
Peepcode facebook-2-rails on facebook
sushilprajapati
 
Working with Web 2.0 APIs (or, maybe just defining)
Working with Web 2.0 APIs (or, maybe just defining)Working with Web 2.0 APIs (or, maybe just defining)
Working with Web 2.0 APIs (or, maybe just defining)
Bridget S
 
PhoneGap/PhoneGap Build - Amsterdam Adobe Camp
PhoneGap/PhoneGap Build - Amsterdam Adobe CampPhoneGap/PhoneGap Build - Amsterdam Adobe Camp
PhoneGap/PhoneGap Build - Amsterdam Adobe Camp
Mihai Corlan
 

Ähnlich wie Charlie Cheever Facebook Developer Garage Uganda (20)

Facebook Developer Garage Cyberjaya
Facebook Developer Garage CyberjayaFacebook Developer Garage Cyberjaya
Facebook Developer Garage Cyberjaya
 
Firefox OS Talk - Web Applications and FirefoxOS Marketplace
Firefox OS Talk - Web Applications and FirefoxOS MarketplaceFirefox OS Talk - Web Applications and FirefoxOS Marketplace
Firefox OS Talk - Web Applications and FirefoxOS Marketplace
 
Creating a Facebook App
Creating a Facebook AppCreating a Facebook App
Creating a Facebook App
 
funP 麻吉 開發者俱樂部十月份聚會
funP 麻吉 開發者俱樂部十月份聚會funP 麻吉 開發者俱樂部十月份聚會
funP 麻吉 開發者俱樂部十月份聚會
 
Gig Monkey at Facebook Garage Ireland 2
Gig Monkey at Facebook Garage Ireland 2Gig Monkey at Facebook Garage Ireland 2
Gig Monkey at Facebook Garage Ireland 2
 
Webapi
WebapiWebapi
Webapi
 
Facebook Coin
Facebook CoinFacebook Coin
Facebook Coin
 
Webapps: introduction and publishing on Firefox OS
Webapps: introduction and publishing on Firefox OSWebapps: introduction and publishing on Firefox OS
Webapps: introduction and publishing on Firefox OS
 
Facebook Apps Vs Google Open Social
Facebook Apps Vs Google Open SocialFacebook Apps Vs Google Open Social
Facebook Apps Vs Google Open Social
 
Connect with Facebook to Rails Application By Nyros Developer
Connect with Facebook to Rails Application By Nyros DeveloperConnect with Facebook to Rails Application By Nyros Developer
Connect with Facebook to Rails Application By Nyros Developer
 
Peepcode facebook-2-rails on facebook
Peepcode facebook-2-rails on facebookPeepcode facebook-2-rails on facebook
Peepcode facebook-2-rails on facebook
 
Facebook 3rd Party Api
Facebook 3rd Party ApiFacebook 3rd Party Api
Facebook 3rd Party Api
 
Google App Engine and Social Apps
Google App Engine and Social AppsGoogle App Engine and Social Apps
Google App Engine and Social Apps
 
Leynard quizon work portfolio (2012 to 2014)
Leynard quizon work portfolio (2012 to 2014)Leynard quizon work portfolio (2012 to 2014)
Leynard quizon work portfolio (2012 to 2014)
 
Working with Web 2.0 APIs (or, maybe just defining)
Working with Web 2.0 APIs (or, maybe just defining)Working with Web 2.0 APIs (or, maybe just defining)
Working with Web 2.0 APIs (or, maybe just defining)
 
PhoneGap/PhoneGap Build - Amsterdam Adobe Camp
PhoneGap/PhoneGap Build - Amsterdam Adobe CampPhoneGap/PhoneGap Build - Amsterdam Adobe Camp
PhoneGap/PhoneGap Build - Amsterdam Adobe Camp
 
Facebook Coin
Facebook CoinFacebook Coin
Facebook Coin
 
Facebook Coin
Facebook CoinFacebook Coin
Facebook Coin
 
Facebook_Coin
Facebook_CoinFacebook_Coin
Facebook_Coin
 
Facebook app development
Facebook app developmentFacebook app development
Facebook app development
 

Mehr von Leila Janah

Impact Sourcing: Connecting the World's Poor to Economic Opportunity
Impact Sourcing: Connecting the World's Poor to Economic OpportunityImpact Sourcing: Connecting the World's Poor to Economic Opportunity
Impact Sourcing: Connecting the World's Poor to Economic Opportunity
Leila Janah
 
Case Studies in Socially Responsible Outsourcing
Case Studies in Socially Responsible OutsourcingCase Studies in Socially Responsible Outsourcing
Case Studies in Socially Responsible Outsourcing
Leila Janah
 
Guiding Principles For Socially Responsible Outsourcing v1.0
Guiding Principles For Socially Responsible Outsourcing v1.0Guiding Principles For Socially Responsible Outsourcing v1.0
Guiding Principles For Socially Responsible Outsourcing v1.0
Leila Janah
 

Mehr von Leila Janah (17)

Impact Sourcing: Connecting the World's Poor to Economic Opportunity
Impact Sourcing: Connecting the World's Poor to Economic OpportunityImpact Sourcing: Connecting the World's Poor to Economic Opportunity
Impact Sourcing: Connecting the World's Poor to Economic Opportunity
 
Samasource 2011 Annual Report
Samasource 2011 Annual ReportSamasource 2011 Annual Report
Samasource 2011 Annual Report
 
Samasource Q4 2012 Impact Report
Samasource Q4 2012 Impact ReportSamasource Q4 2012 Impact Report
Samasource Q4 2012 Impact Report
 
Making the Case for Impact Sourcing - Samasource
Making the Case for Impact Sourcing - SamasourceMaking the Case for Impact Sourcing - Samasource
Making the Case for Impact Sourcing - Samasource
 
Samasource women 26_apr2010
Samasource women 26_apr2010Samasource women 26_apr2010
Samasource women 26_apr2010
 
Google Mission4636 16 Mar2010 Leila
Google Mission4636 16 Mar2010 LeilaGoogle Mission4636 16 Mar2010 Leila
Google Mission4636 16 Mar2010 Leila
 
New Samasource Overview
New Samasource OverviewNew Samasource Overview
New Samasource Overview
 
Samasource
SamasourceSamasource
Samasource
 
SRO at Asia-Pacific Outsourcing Summit
SRO at Asia-Pacific Outsourcing SummitSRO at Asia-Pacific Outsourcing Summit
SRO at Asia-Pacific Outsourcing Summit
 
Nonprofit Technology Conference: Empowering the Poor Through Remote Work
Nonprofit Technology Conference: Empowering the Poor Through Remote WorkNonprofit Technology Conference: Empowering the Poor Through Remote Work
Nonprofit Technology Conference: Empowering the Poor Through Remote Work
 
Samasource: A New Model for Empowering the Poor
Samasource: A New Model for Empowering the PoorSamasource: A New Model for Empowering the Poor
Samasource: A New Model for Empowering the Poor
 
Facebook Developer Garage Uganda
Facebook Developer Garage UgandaFacebook Developer Garage Uganda
Facebook Developer Garage Uganda
 
Case Studies in Socially Responsible Outsourcing
Case Studies in Socially Responsible OutsourcingCase Studies in Socially Responsible Outsourcing
Case Studies in Socially Responsible Outsourcing
 
Facebook Developer Garage Uganda
Facebook Developer Garage UgandaFacebook Developer Garage Uganda
Facebook Developer Garage Uganda
 
Groups On Facebook
Groups On FacebookGroups On Facebook
Groups On Facebook
 
Guiding Principles For Socially Responsible Outsourcing v1.0
Guiding Principles For Socially Responsible Outsourcing v1.0Guiding Principles For Socially Responsible Outsourcing v1.0
Guiding Principles For Socially Responsible Outsourcing v1.0
 
Socially Responsible Outsourcing 101
Socially Responsible Outsourcing 101Socially Responsible Outsourcing 101
Socially Responsible Outsourcing 101
 

Kürzlich hochgeladen

Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 

Kürzlich hochgeladen (20)

Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 

Charlie Cheever Facebook Developer Garage Uganda

  • 1. Facebook Developer Garage Kampala Charlie Cheever Platform Engineering, Facebook
  • 2. Review: A Web App pretty simple
  • 3. A Facebook App - What do you Get? • Authentication for free. Less code for you to write, less work for users to login, a realer concept of identity • Data about the people who use your app • names, profile pictures, interests, favorite books, favorite movies • ... and friends • Messaging (notifications, requests) -> Distribution • Convenient widgets. Friend selector, mp3 player, etc. • You can show ads on your application and keep all those revenues
  • 4. Some Examples of What’s Being Done with the Facebook Platform
  • 12. Facebook API • Read data from Facebook • about users, ex. names, profile pictures, favorite books, favorite movies, etc. • other data like photos, groups, events, etc. • almost all the data that’s available on Facebook • Messaging - sending e-mails to users, sending Facebook requests, sending Facebook notifications • Publishing news feed stories
  • 13. FBML • Basically HTML with a few extras • Sanitary - Safe for Facebook to display anywhere • Makes it easy to efficiently embed social data • Provides convenient widgets like friend selectors
  • 14. How Facebook Apps Work • Facebook Connect Applications • FBML Canvas Applications • IFrame Canvas Applications • Big Question: How do we efficiently involve a third party when a user loads a webpage?
  • 18. IFrame Canvas Apps Using XFBML
  • 20. Facebook Connect Apps 1. initial request from user Your Server User 4. regular response from your server 2. server-side API call to Facebook (optional) 5. JS API Call to Facebook 3. server-side API response (optional) 6. JS API response from Facebook Facebook
  • 22. Getting Your Feet Wet Some Simple Examples • http://apps.facebook.com/devgaragekampala/ • A Facebook app that I’ve set up that will let you test out snippets of code and get some experience with the API and FBML
  • 23. Examples • http://apps.facebook.com/devgaragekampala/ • Hello, Uganda! • Hello, Mark Zuckerberg • Hello friends! • Pick a friend • Someone Else’s Code
  • 24. Setting Up A Real App • We’ll use a free hosting service called AppJet in this example but you can use any kind of hosting.
  • 25. • AppJet is a free, web-based hosting service • Great for prototyping websites with Javascript • Has built-in Facebook support
  • 26. Your Preview program
  • 28.
  • 30. Now we have a real website
  • 32.
  • 34. Congratulations! You now have a Facebook application. Write these keys down
  • 35. Add the following to your app. import(quot;facebookquot;); fb.init(); print(quot;Hello Kampala!quot;);
  • 36.
  • 37. Type in your Canvas url Paste in your API Key and Secret
  • 38. Clicking Publish will take your application live
  • 39.
  • 40. Web Resources • FB Developers Wiki: http://wiki.developers.facebook.com/ • API Test Console: http://developers.facebook.com/tools.php?api • FBML Test Console: http://developers.facebook.com/tools.php?fbml • AppJet (free, easy hosting): http://www.appjet.com/ • FB Developer App (for setting up an app): http://www.facebook.com/ developers/ • Facebook Developer Site: http://developers.facebook.com/