SlideShare a Scribd company logo
1 of 12
Download to read offline
Facebook and iOS
Facebook for iOS SDK 3.2 Status Quo

Ralf Rottmann | CTO



                                      Cologne, 01.03.2012 Version 1.0
A confusing landscape




                        grandcentrix GmbH
A confusing landscape
Speaking of a fragmented environment...




                             Version 5.x of the iOS operating system knows nothing about Facebook.
                             Version 6.x introduces an operating system level integration with Facebook.
                             Behavior also depends on the native Facebook application being available on a
                             device, or not.
                             These varying scenarios are partially abstracted by the Facebook SDK for iOS – but
                             not completely.
                                                  grandcentrix GmbH                                           3
iOS 6




        grandcentrix GmbH
Scenario 1: The ideal setup
iOS 6 with Facebook connected on OS level




                             In this scenario
                             ‣ The Facebook SDK will authenticate the user using an OS level system dialog.
                             ‣ Absolutely no app switching will occur, everything will happen smoothly inside
                                your app.
                             ‣ Sharing will leverage Apple’s system level share UI.
                             ‣ The native Facebook app is not required. If it’s there, it simply gets ignored.
                             This configuration arguably delivers the best overall user experience.
                             Developers don’t have to write any UI related code. The Facebook SDK handles
                             everything automatically.
                                                   grandcentrix GmbH                                             5
Scenario 2: The very popular setup
iOS 6 with Facebook not connected on OS level and the Facebook app installed



                             In this scenario
                             ‣ The Facebook SDK will authenticate the user by switching to the native
                                Facebook app, asking the user to confirm and switching back.
                             ‣ Trying to share using Apple’s system level share UI will silently fail and the
                                developer can react to this in a couple of ways:
                                ‣ Force Apple’s system level share UI in which case the user is asked to
                                   connect her Facebook account on iOS level.
                                ‣ Use the Facebook SDK to pop up the Facebook Feed Dialog in an in-app Web
                                   View.
                                ‣ Provide her own user interface. A pretty solid clone of Apple’s system level
                                   share UI is available here: https://github.com/sakrist/FacebookSample.
                             While the Facebook SDK provides means to detect this situation, handling it
                             appropriately is completely up to the developer.
                                                   grandcentrix GmbH                                             6
Scenario 3: Nothing configured. Nothing installed.
iOS 6 with Facebook not connected on OS level and the Facebook app not installed




                              In this scenario
                              ‣ The Facebook SDK will authenticate the user by switching to Mobile Safari,
                                 asking the user to log into Facebook, confirm and switching back.
                              From here on onwards, Scenario 2 applies.
                                                   grandcentrix GmbH                                         7
iOS 5




        grandcentrix GmbH
Scenario 4: The very popular setup
iOS 5 with Facebook and the Facebook app installed




                             In this scenario
                             ‣ The Facebook SDK will authenticate the user by switching to the native
                                Facebook app, asking the user to confirm and switching back.
                             ‣ For sharing, the developer has two alternatives:
                               ‣ Use the Facebook SDK to pop up the Facebook Feed Dialog in an in-app Web
                                   View.
                                ‣ Provide her own user interface. A pretty solid clone of Apple’s iOS 6 sharing
                                   UI is available here: https://github.com/sakrist/FacebookSample.
                                                     grandcentrix GmbH                                            9
Scenario 5: No Facebook app
iOS 5 and the Facebook app not installed




                              In this scenario
                              ‣ The Facebook SDK will authenticate the user by switching to Mobile Safari,
                                 asking the user to log into Facebook, confirm and switching back.
                              From here on onwards, Scenario 4 applies.
                                                   grandcentrix GmbH                                         10
Ralf Rottmann
ralf.rottmann@grandcentrix.net
p. +49 221 677 860 20
t. @ralf
f. http://www.facebook.com/grandcentrix


                                                                                                                                                            grandcentrix GmbH
                                                                                                                                                              Schanzenstraße 6-20
                                                                                                                                                                 D-51063 Cologne


Do not duplicate, publish, modify or otherwise distribute the material in this presentation unless specifically authorized by grandcentrix GmbH to do so.
Facebook for iOS SDK 3.2 Status Quo

More Related Content

Viewers also liked

One direction 4 years
One direction 4 yearsOne direction 4 years
One direction 4 yearsDianey Payne
 
Safe Food, Fair Food: Summary of findings within sheep value chains in the Et...
Safe Food, Fair Food: Summary of findings within sheep value chains in the Et...Safe Food, Fair Food: Summary of findings within sheep value chains in the Et...
Safe Food, Fair Food: Summary of findings within sheep value chains in the Et...ILRI
 
تربيت معنوي و اخلاقي شاه
تربيت معنوي و اخلاقي شاهتربيت معنوي و اخلاقي شاه
تربيت معنوي و اخلاقي شاهHoma Raeisdana
 
Libertagia estafa o es real (fantasía)
Libertagia estafa o es real (fantasía)Libertagia estafa o es real (fantasía)
Libertagia estafa o es real (fantasía)Yara P Bekhakh Ruse
 

Viewers also liked (7)

Your God-given skills
Your God-given skillsYour God-given skills
Your God-given skills
 
One direction 4 years
One direction 4 yearsOne direction 4 years
One direction 4 years
 
Safe Food, Fair Food: Summary of findings within sheep value chains in the Et...
Safe Food, Fair Food: Summary of findings within sheep value chains in the Et...Safe Food, Fair Food: Summary of findings within sheep value chains in the Et...
Safe Food, Fair Food: Summary of findings within sheep value chains in the Et...
 
تربيت معنوي و اخلاقي شاه
تربيت معنوي و اخلاقي شاهتربيت معنوي و اخلاقي شاه
تربيت معنوي و اخلاقي شاه
 
Libertagia estafa o es real (fantasía)
Libertagia estafa o es real (fantasía)Libertagia estafa o es real (fantasía)
Libertagia estafa o es real (fantasía)
 
El libro-de-daniel
El libro-de-danielEl libro-de-daniel
El libro-de-daniel
 
El libro-de-daniel
El libro-de-danielEl libro-de-daniel
El libro-de-daniel
 

Similar to Facebook for iOS SDK 3.2 Status Quo

Facebook Mobile Distribution
Facebook Mobile DistributionFacebook Mobile Distribution
Facebook Mobile Distributiongrandcentrix GmbH
 
Cake & Socialyse F8 Facebook POV
Cake & Socialyse F8 Facebook POVCake & Socialyse F8 Facebook POV
Cake & Socialyse F8 Facebook POVCake
 
Why Choose Flutter for IoT_.pptx
Why Choose Flutter for IoT_.pptxWhy Choose Flutter for IoT_.pptx
Why Choose Flutter for IoT_.pptxExpert App Devs
 
Pick Your Poison – Mobile Web, Native, or Hybrid? - Denver Startup Week - Oct...
Pick Your Poison – Mobile Web, Native, or Hybrid? - Denver Startup Week - Oct...Pick Your Poison – Mobile Web, Native, or Hybrid? - Denver Startup Week - Oct...
Pick Your Poison – Mobile Web, Native, or Hybrid? - Denver Startup Week - Oct...Shane Church
 
Pick Your Poison – Mobile Web, Native or Hybrid?
Pick Your Poison – Mobile Web, Native or Hybrid?Pick Your Poison – Mobile Web, Native or Hybrid?
Pick Your Poison – Mobile Web, Native or Hybrid?Effective
 
App Development: Create Cross Platform Mobile App with Just 6 Steps
App Development: Create Cross Platform Mobile App with Just 6 StepsApp Development: Create Cross Platform Mobile App with Just 6 Steps
App Development: Create Cross Platform Mobile App with Just 6 StepsMarvin Heng
 
What Is React Native & How It Is Used in Mobile App Development?
What Is React Native & How It Is Used in Mobile App Development?What Is React Native & How It Is Used in Mobile App Development?
What Is React Native & How It Is Used in Mobile App Development?simonedaniels3
 
.NET Conf 2019 updates for Mobile Developers
.NET Conf 2019 updates for Mobile Developers.NET Conf 2019 updates for Mobile Developers
.NET Conf 2019 updates for Mobile DevelopersAlejandro Ruiz Varela
 
Facebook Open Graph - The Semantic Wallet
Facebook Open Graph - The Semantic WalletFacebook Open Graph - The Semantic Wallet
Facebook Open Graph - The Semantic WalletJonathan Laba
 
Common Missteps in Cross-Platform Development.pdf
Common Missteps in Cross-Platform Development.pdfCommon Missteps in Cross-Platform Development.pdf
Common Missteps in Cross-Platform Development.pdfPridesys IT Ltd.
 
Creating an Uber Clone - Part XXXIII - Transcript.pdf
Creating an Uber Clone - Part XXXIII - Transcript.pdfCreating an Uber Clone - Part XXXIII - Transcript.pdf
Creating an Uber Clone - Part XXXIII - Transcript.pdfShaiAlmog1
 
iOS App Development with Storyboard
iOS App Development with StoryboardiOS App Development with Storyboard
iOS App Development with StoryboardBabul Mirdha
 
Mobile Developer's Guide To The Galaxy 12th Edition
Mobile Developer's Guide To The Galaxy 12th EditionMobile Developer's Guide To The Galaxy 12th Edition
Mobile Developer's Guide To The Galaxy 12th EditionMarco Tabor
 

Similar to Facebook for iOS SDK 3.2 Status Quo (20)

Facebook Mobile Distribution
Facebook Mobile DistributionFacebook Mobile Distribution
Facebook Mobile Distribution
 
iOS Distribution
iOS DistributioniOS Distribution
iOS Distribution
 
Mobile Web vs. Native Apps
Mobile Web vs. Native AppsMobile Web vs. Native Apps
Mobile Web vs. Native Apps
 
Cake & Socialyse F8 Facebook POV
Cake & Socialyse F8 Facebook POVCake & Socialyse F8 Facebook POV
Cake & Socialyse F8 Facebook POV
 
Why Choose Flutter for IoT_.pptx
Why Choose Flutter for IoT_.pptxWhy Choose Flutter for IoT_.pptx
Why Choose Flutter for IoT_.pptx
 
Facebook update feature APR 2016
Facebook update feature APR 2016Facebook update feature APR 2016
Facebook update feature APR 2016
 
Pick Your Poison – Mobile Web, Native, or Hybrid? - Denver Startup Week - Oct...
Pick Your Poison – Mobile Web, Native, or Hybrid? - Denver Startup Week - Oct...Pick Your Poison – Mobile Web, Native, or Hybrid? - Denver Startup Week - Oct...
Pick Your Poison – Mobile Web, Native, or Hybrid? - Denver Startup Week - Oct...
 
Pick Your Poison – Mobile Web, Native or Hybrid?
Pick Your Poison – Mobile Web, Native or Hybrid?Pick Your Poison – Mobile Web, Native or Hybrid?
Pick Your Poison – Mobile Web, Native or Hybrid?
 
React Native
React NativeReact Native
React Native
 
Some Useful Flash API
Some Useful Flash APISome Useful Flash API
Some Useful Flash API
 
App Development: Create Cross Platform Mobile App with Just 6 Steps
App Development: Create Cross Platform Mobile App with Just 6 StepsApp Development: Create Cross Platform Mobile App with Just 6 Steps
App Development: Create Cross Platform Mobile App with Just 6 Steps
 
React Native
React NativeReact Native
React Native
 
What Is React Native & How It Is Used in Mobile App Development?
What Is React Native & How It Is Used in Mobile App Development?What Is React Native & How It Is Used in Mobile App Development?
What Is React Native & How It Is Used in Mobile App Development?
 
.NET Conf 2019 updates for Mobile Developers
.NET Conf 2019 updates for Mobile Developers.NET Conf 2019 updates for Mobile Developers
.NET Conf 2019 updates for Mobile Developers
 
Mobile development xamarain
Mobile development xamarainMobile development xamarain
Mobile development xamarain
 
Facebook Open Graph - The Semantic Wallet
Facebook Open Graph - The Semantic WalletFacebook Open Graph - The Semantic Wallet
Facebook Open Graph - The Semantic Wallet
 
Common Missteps in Cross-Platform Development.pdf
Common Missteps in Cross-Platform Development.pdfCommon Missteps in Cross-Platform Development.pdf
Common Missteps in Cross-Platform Development.pdf
 
Creating an Uber Clone - Part XXXIII - Transcript.pdf
Creating an Uber Clone - Part XXXIII - Transcript.pdfCreating an Uber Clone - Part XXXIII - Transcript.pdf
Creating an Uber Clone - Part XXXIII - Transcript.pdf
 
iOS App Development with Storyboard
iOS App Development with StoryboardiOS App Development with Storyboard
iOS App Development with Storyboard
 
Mobile Developer's Guide To The Galaxy 12th Edition
Mobile Developer's Guide To The Galaxy 12th EditionMobile Developer's Guide To The Galaxy 12th Edition
Mobile Developer's Guide To The Galaxy 12th Edition
 

Recently uploaded

Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionDilum Bandara
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brandgvaughan
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfAlex Barbosa Coqueiro
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebUiPathCommunity
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxhariprasad279825
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.Curtis Poe
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024Stephanie Beckett
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteDianaGray10
 
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfHyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfPrecisely
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Mark Simos
 
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo DayH2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo DaySri Ambati
 

Recently uploaded (20)

Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An Introduction
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdf
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptxE-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptx
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test Suite
 
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfHyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
 
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo DayH2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
 

Facebook for iOS SDK 3.2 Status Quo

  • 1. Facebook and iOS Facebook for iOS SDK 3.2 Status Quo Ralf Rottmann | CTO Cologne, 01.03.2012 Version 1.0
  • 2. A confusing landscape grandcentrix GmbH
  • 3. A confusing landscape Speaking of a fragmented environment... Version 5.x of the iOS operating system knows nothing about Facebook. Version 6.x introduces an operating system level integration with Facebook. Behavior also depends on the native Facebook application being available on a device, or not. These varying scenarios are partially abstracted by the Facebook SDK for iOS – but not completely. grandcentrix GmbH 3
  • 4. iOS 6 grandcentrix GmbH
  • 5. Scenario 1: The ideal setup iOS 6 with Facebook connected on OS level In this scenario ‣ The Facebook SDK will authenticate the user using an OS level system dialog. ‣ Absolutely no app switching will occur, everything will happen smoothly inside your app. ‣ Sharing will leverage Apple’s system level share UI. ‣ The native Facebook app is not required. If it’s there, it simply gets ignored. This configuration arguably delivers the best overall user experience. Developers don’t have to write any UI related code. The Facebook SDK handles everything automatically. grandcentrix GmbH 5
  • 6. Scenario 2: The very popular setup iOS 6 with Facebook not connected on OS level and the Facebook app installed In this scenario ‣ The Facebook SDK will authenticate the user by switching to the native Facebook app, asking the user to confirm and switching back. ‣ Trying to share using Apple’s system level share UI will silently fail and the developer can react to this in a couple of ways: ‣ Force Apple’s system level share UI in which case the user is asked to connect her Facebook account on iOS level. ‣ Use the Facebook SDK to pop up the Facebook Feed Dialog in an in-app Web View. ‣ Provide her own user interface. A pretty solid clone of Apple’s system level share UI is available here: https://github.com/sakrist/FacebookSample. While the Facebook SDK provides means to detect this situation, handling it appropriately is completely up to the developer. grandcentrix GmbH 6
  • 7. Scenario 3: Nothing configured. Nothing installed. iOS 6 with Facebook not connected on OS level and the Facebook app not installed In this scenario ‣ The Facebook SDK will authenticate the user by switching to Mobile Safari, asking the user to log into Facebook, confirm and switching back. From here on onwards, Scenario 2 applies. grandcentrix GmbH 7
  • 8. iOS 5 grandcentrix GmbH
  • 9. Scenario 4: The very popular setup iOS 5 with Facebook and the Facebook app installed In this scenario ‣ The Facebook SDK will authenticate the user by switching to the native Facebook app, asking the user to confirm and switching back. ‣ For sharing, the developer has two alternatives: ‣ Use the Facebook SDK to pop up the Facebook Feed Dialog in an in-app Web View. ‣ Provide her own user interface. A pretty solid clone of Apple’s iOS 6 sharing UI is available here: https://github.com/sakrist/FacebookSample. grandcentrix GmbH 9
  • 10. Scenario 5: No Facebook app iOS 5 and the Facebook app not installed In this scenario ‣ The Facebook SDK will authenticate the user by switching to Mobile Safari, asking the user to log into Facebook, confirm and switching back. From here on onwards, Scenario 4 applies. grandcentrix GmbH 10
  • 11. Ralf Rottmann ralf.rottmann@grandcentrix.net p. +49 221 677 860 20 t. @ralf f. http://www.facebook.com/grandcentrix grandcentrix GmbH Schanzenstraße 6-20 D-51063 Cologne Do not duplicate, publish, modify or otherwise distribute the material in this presentation unless specifically authorized by grandcentrix GmbH to do so.