-
Notifications
You must be signed in to change notification settings - Fork 255
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
iOS Graph API Calls using FB.API Fail in 17.0.0 #719
Comments
On deeper investigation, it seems this outcome depends on the ATT (AppTrackingTransparency) dialog. If the user denies these permissions when prompted, it seems the accessToken subsequently returned by the login process is invalid, causing all Graph API requests to fail. |
We also experience the same issue. We want to update FB SDK because Apple requires privacy manifest for 3rd party SDKs and FB SDK implemented this feature in 17.0.0 version. Unfortunately, we can't update to 17.0.0 because of this bug, It breaks app functionality. Is there any plan to fix this issue in next release ? |
Hello, We just found this same issue here in production and apparently this is an expected behaviour.
REF: https://developers.facebook.com/docs/facebook-login/limited-login/faq/ To solve it we should implement the limited login functionality. |
Apple only requires the privacy manifest, so you can manually copy those 'privacy manifest' files into your Xcode project. |
Checklist
Environment
2021.3.36
17.0.0
iOS
version17.4.1
Goals
A functioning
FB.API
interface on iOS that allows calls to be made to the Facebook Graph API.Expected Results
The
FB.API
should provide a means to make requests to the Facebook Graph API if a login mode that yields an AccessToken is used.Actual Results
When "Classic" Login is used with tracking enabled (either via
FB.LogInWithReadPermissions
orFB.Mobile.LoginWithTrackingPreference
withLoginTracking.ENABLED
passed through as theLoginTracking
argument) all calls to Graph API throughFB.API
subsequently fail, throwing 400 errors.Steps to Reproduce
LogInWithReadPermissions
orLoginWithTrackingPreference
, requesting access to permissions that you intend to leverage for Graph API calls.FB.API
interface, for example, querying their friends list via/me/friends
.Code Samples & Details
The text was updated successfully, but these errors were encountered: