Apr 09, 2025 By Christoph Rieger 5 min
Christoph helps Median customers achieve their business objectives one exceptional app at a time.
TL;DR: Meta’s update to the Facebook Login SDK introduces Limited Login for iOS, offering users enhanced privacy with minimal data sharing. Developers must request ATT permission, handle new properties like loginTracking and nonce, and process the new AuthenticationToken. No changes are needed for the logout button, and Android users are unaffected.
With Apple’s App Tracking Transparency (ATT) enforcement, Meta has made key updates to the iOS Facebook Login SDK. Now, if a user opts out of ATT or never grants consent, the SDK won’t provide valid OAuth access tokens. As a result, Graph API requests may fail with errors like OAuthException – "Invalid OAuth access token."
If you're encountering these issues, don’t worry! We’ll walk you through what’s happening, and practical steps for handling it.
Let’s dive in!
Facebook Limited Login is a privacy-focused alternative to the standard Facebook Login. It provides a lightweight authentication method that allows users to sign in to apps with their Facebook credentials while sharing only minimal information.
Unlike the full Facebook Login, which can grant apps access to a wide range of user data, Limited Login only supports basic profile details - such as name, profile picture, and email. Additionally, it ensures that user interactions with the app won’t be used for ad personalization or measurement, making it a more privacy-conscious option.
When implementing Facebook Limited Login, it’s important to know how to detect when a login attempt falls under this mode. Luckily, Meta provides multiple ways to identify limited login attempts and results.
One key indicator is the login screen itself. If a user hasn’t granted App Tracking Transparency (ATT) consent or has explicitly requested Limited Login, the login request is automatically redirected to ‘limited.facebook.com’ instead of ‘facebook.com’. This instant feedback helps users and developers recognize when a user is signing in with restricted permissions.
Traditionally, the Facebook Login returns an OAuth access token which can be used to request additional data from the Facebook Graph API. Development tools like Meta’s Access Token Debugger help you debug and access tokens that are returned from successful login attempts.
However, Facebook Limited Login works differently. Instead of an OAuth token, it returns an AuthenticationToken, which wraps an OpenID Connect (OIDC) token. This ID token has stricter limitations.
It cannot be used to:
The full list of available datapoints that can be requested and returned with the AuthenticationToken is documented in the Facebook Developer documentation (See Limited Login for iOS).
Unlike standard OAuth tokens, the AuthenticationToken from Limited Login cannot be debugged using Meta’s Access Token Debugger. Instead, validation must be done manually by:
For a step-by-step guide on decoding and validating the OIDC token, refer to the Facebook Developer documentation: Validating the Limited Login OICD Token.
Get hands-on with Median’s comprehensive documentation, and build your app with ease.
If you're updating your app and upgrading to Facebook Login SDK version 17.0.0 or higher, here are the steps you need to follow for your iOS app:
If an invalid nonce is provided, it won’t be set, and the SDK will generate a default unique nonce automatically for login attempts.
No changes are required to your app’s logout button when adopting Facebook Limited Login. The Facebook SDK automatically handles token invalidation for both standard and limited logins.
When integrating Facebook Limited Login, it's important to ensure your app processes authentication attempts just like traditional Facebook Login.
Here’s what you need to do:
By treating Limited Login similarly to traditional logins, you can provide a smooth user experience while respecting the privacy preferences of your users.
If you're considering the changes introduced by Facebook Limited Login in your app, you might wonder how it impacts existing logged-in users. The good news is that there’s no immediate effect - users who are already logged in can continue using your app as usual.
However, if you want existing users to benefit from Limited Login safeguards, they will need to log out and sign back in using Limited Login.
It’s important to note that Facebook Limited Login only applies to iOS. Android users remain unaffected, as these changes are specific to accommodate Apple’s App Tracking Transparency (ATT) policies.
Meta has updated the Facebook Login SDK to version 17.0.0+ to comply with Apple’s App Tracking Transparency (ATT) enforcement.
The changes introduce Facebook Limited Login, a privacy-focused authentication method that provides users with minimal data sharing, by default only including their name, profile picture, and email.
Developers of iOS apps need to request ATT permissions, ensure proper handling of the new login flow, and be aware of the changes to the login and logout buttons.
Facebook Limited Login is a privacy-focused login option that allows users to sign in to apps without sharing their full Facebook profile information. This option provides enhanced privacy by limiting the data shared with third-party apps while still enabling a streamlined login experience.
Unlike the standard Facebook Login, which shares extensive user data with third-party applications, Facebook Limited Login restricts the amount of personal information shared. This includes limiting access to the user's profile picture, email, and friends list, ensuring greater control over personal data.
Yes, Facebook Limited Login can be integrated with webview apps. This integration allows webview apps to leverage Facebook's privacy-focused login option, ensuring enhanced user privacy by limiting the data shared with third-party apps. By using Facebook Limited Login, webview apps can still provide a streamlined login experience while maintaining robust user data security. This ensures that apps can engage users effectively without compromising their privacy.
Join our mailing list for the latest mobile app news & Median updates.