Comments (3)
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.
from facebook-sdk-for-unity.
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 ?
from facebook-sdk-for-unity.
Hello,
We just found this same issue here in production and apparently this is an expected behaviour.
[My login access token is Invalid and/or I can’t check the expiration date of my access token after upgrading the iOS SDK to v17.0.0.0.](https://developers.facebook.com/docs/facebook-login/limited-login/faq/#faq_3803539939969324)
In response to [the upcoming changes to ATT enforcement](https://developer.apple.com/news/?id=3d8a9yyh), we made changes to the iOS SDK and the SDK no longer provides valid user access tokens in scenarios where the user opts out of ATT. The access token validation or Graph API requests may throw errors like OAuthException - “Invalid OAuth access token - Cannot parse access token”. Our recommendation is that users integrate Limited Login following the official documentation:
[Limited Login for iOS](https://developers.facebook.com/docs/facebook-login/limited-login/ios)
[Limited Login for Unity](https://developers.facebook.com/docs/facebook-login/limited-login/unity/)
REF: https://developers.facebook.com/docs/facebook-login/limited-login/faq/
To solve it we should implement the limited login functionality.
https://developers.facebook.com/docs/facebook-login/limited-login/ios
from facebook-sdk-for-unity.
Related Issues (20)
- DT_TOOLCHAIN_DIR cannot be used to evaluate LIBRARY_SEARCH_PATHS, use TOOLCHAIN_DIR instead HOT 4
- Feature Request: Remove BOM from info.plist
- Library Conflict In unity
- Fetching profile picture results in empty texture2d HOT 1
- Exception: Too many receivers, total of 1000 HOT 1
- AndroidJavaException: java.lang.NoSuchMethodError: no static method with name='setIsUnityInit'
- FBUnityLoginActivity crash int java.lang.Enum.ordinal()' HOT 2
- Feature Request: Support App Privacy Manifest HOT 28
- missing Microsoft Xbox's build targets (using in 2020.3.x and higher) HOT 1
- [IOS] Unity Crashes on Startup with Deep Link Launch EXC_BAD_ACCESS (code=1, address=0x378) HOT 21
- Android 34 / FB SDK - can't build ( A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade ) HOT 7
- Login from developer account
- Feature Request: Request Newest Facebook SDKv17.0.0 for unity HOT 9
- Facebook SDK does not work with Unity 2023
- Feature Request: malloc deallocate buffer in iOS SDK
- 17.0 build failed HOT 7
- With Apple ATT refused by user, Facebook classic login fallback in a limited login and returns a non valid authentication token HOT 1
- Confuse about version is latest and use in unity.
- Graph Api Bad Signature IOS
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from facebook-sdk-for-unity.