Facebook for iOS SDK 3.2 Status Quo
Upcoming SlideShare
Loading in...5
×
 

Facebook for iOS SDK 3.2 Status Quo

on

  • 767 views

With the integration of Facebook on operating system level in iOS 6, there are multiple ways of allowing users to share stuff from within an app. Supporting iOS 5 and iOS 6 can get pretty complex. ...

With the integration of Facebook on operating system level in iOS 6, there are multiple ways of allowing users to share stuff from within an app. Supporting iOS 5 and iOS 6 can get pretty complex. This presentation provides a high-level overview of how things work in the various scenarios. Get in touch with Ralf at http://twitter.com/ralf or on ADN.

Statistics

Views

Total Views
767
Views on SlideShare
756
Embed Views
11

Actions

Likes
1
Downloads
7
Comments
0

2 Embeds 11

https://twitter.com 10
http://dabr.eu 1

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

Facebook for iOS SDK 3.2 Status Quo Facebook for iOS SDK 3.2 Status Quo Presentation Transcript

  • Facebook and iOSFacebook for iOS SDK 3.2 Status QuoRalf Rottmann | CTO Cologne, 01.03.2012 Version 1.0
  • A confusing landscape grandcentrix GmbH
  • A confusing landscapeSpeaking 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 setupiOS 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 setupiOS 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 setupiOS 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 appiOS 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 Rottmannralf.rottmann@grandcentrix.netp. +49 221 677 860 20t. @ralff. http://www.facebook.com/grandcentrix grandcentrix GmbH Schanzenstraße 6-20 D-51063 CologneDo not duplicate, publish, modify or otherwise distribute the material in this presentation unless specifically authorized by grandcentrix GmbH to do so.