Switch branches/tags
v1.2 v1.1 v1.0 v1.last sdk-version-4.28.0 sdk-version-4.27.1 sdk-version-4.27.0 sdk-version-4.26.0 sdk-version-4.25.0 sdk-version-4.24.0 sdk-version-4.23.0 sdk-version-4.22.1 sdk-version-4.22.0 sdk-version-4.21.0 sdk-version-4.20.2 sdk-version-4.20.1 sdk-version-4.20.0 sdk-version-4.19.0 sdk-version-4.18.0 sdk-version-4.17.0 sdk-version-4.16.1 sdk-version-4.16.0 sdk-version-4.15.1 sdk-version-4.15.0 sdk-version-4.14.0 sdk-version-4.13.1 sdk-version-4.13.0 sdk-version-4.12.0 sdk-version-4.11.1-beta1 sdk-version-4.11.0 sdk-version-4.10.1 sdk-version-4.10.0 sdk-version-4.9.1 sdk-version-4.9.0 sdk-version-4.9.0-beta2 sdk-version-4.8.0 sdk-version-4.7.1 sdk-version-4.7.0 sdk-version-4.6.0 sdk-version-4.6.0-beta1 sdk-version-4.5.1 sdk-version-4.5.0 sdk-version-4.4.0 sdk-version-4.3.0 sdk-version-4.2.0 sdk-version-4.1.0 sdk-version-4.0.1 sdk-version-4.0.1-dev sdk-version-4.0.0 sdk-version-3.24.4 sdk-version-3.24.2 sdk-version-3.24.1 sdk-version-3.24.0 sdk-version-3.24.0-beta1 sdk-version-3.23.2 sdk-version-3.23.1 sdk-version-3.23.0 sdk-version-3.22.0 sdk-version-3.21.1 sdk-version-3.21.0 sdk-version-3.20.0 sdk-version-3.19.0 sdk-version-3.18.2 sdk-version-3.18.1 sdk-version-3.18.0 sdk-version-3.17.1 sdk-version-3.17.0 sdk-version-3.16.2 sdk-version-3.16.1 sdk-version-3.16.0 sdk-version-3.15.1 sdk-version-3.15.0 sdk-version-3.14.1 sdk-version-3.14.0 sdk-version-3.13.1 sdk-version-3.13.0 sdk-version-3.12.0 sdk-version-3.11.1 sdk-version-3.11.0 sdk-version-3.10.0 sdk-version-3.9.0 sdk-version-3.8.0 sdk-version-3.7.1 sdk-version-3.7.0 sdk-version-3.6.0 sdk-version-3.5.3 sdk-version-3.5.2 sdk-version-3.5.1 sdk-version-3.5.0 sdk-version-3.2.1 sdk-version-3.2.0 sdk-version-3.1.1 sdk-version-3.1.0 sdk-version-3.0.8 sdk-version-3.0.7 sdk-version-3.0.6.b sdk-version-3.0.5.b sdk-version-3.0.2.b sdk-version-3.0.1.b sdk-version-3.0.0.b
Nothing to show
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
..
Failed to load latest commit information.
SwitchUserSample.xcodeproj
SwitchUserSample
ReadMe.txt

ReadMe.txt

Switch User sample

Demonstrates an approach to allow switching between multiple users on, for example, a shared family iPad.

In this sample, we have the concept of a "Primary User" and up to three "Guest Users". The Primary User
authenticates using SSO, if possible, while the Guest Users are asked to login using their Facebook
credentials. Once authenticated, no further requests are made for user passwords, etc., so a solution
such as this would be applicable only in a scenario that implies a high degree of trust amongst the
various users.

Using the Sample
Install the Facebook SDK for iOS.
Launch the SwitchUsersSample project using Xcode from the <Facebook SDK>/samples/SwitchUsersSample directory.