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 (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

iOS App Development with Storyboard
iOS App Development with StoryboardiOS App Development with Storyboard
iOS App Development with Storyboard
Babul Mirdha
 

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

Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
vu2urc
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 

Recently uploaded (20)

Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
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
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
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
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.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...
 
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
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
HTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesHTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation Strategies
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 

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.