部分中斷share-external
Access token is not getting after updating FBSDK 17
1

The Facebook SDK no longer maintains the user's login status across multiple sessions. We transitioned from FBSDK 15 to FBSDK 17 to comply with Apple's updated privacy requirements. However, instead of receiving the Facebook Access Token, we encounter the error code shown in the attached screenshot. Consequently, the game appears to log out from Facebook every time it's reloaded. We're utilizing the native iOS Facebook SDK as a plugin.

Environment details:

Xcode: 15.0 FBSDK: 17 Unity Editor: 2022.3.18f1

Prasanth
已發問 約 7 個月前
Prasanth

https://github.com/facebook/facebook-sdk-for-unity/issues/695

4月16日上午2:37
已選擇的回答
2

After migrating from FBSDK 15 to FBSDK 17 to adhere to Apple's privacy regulations, we encountered an issue where the Facebook SDK no longer retains the user's login status across sessions, resulting in an error code as depicted in the attached screenshot rather than receiving the Facebook Access Token. Consequently, the game seems to log out from Facebook each time it's reloaded. We're currently using the native iOS Facebook SDK as a plugin.

4月16日上午2:56
Thabo
Morgan

I'm currently going through the same thing. From my research so far, it looks as if on SDK 17, if Allows Tracking is turned off for your application, SDK 17 forcibly requires limited login. If you update to use the limited login function, you will receive back an AuthenticationToken (NOT an access token) and you will have to use that to proceed with account creation or whatever you need it for

4月25日下午8:28
Gary

So without an AccessToken, is auto relogin even possible? Or do we need to enable Allows Tracking simply to support auto relogin? I wonder whether this is a bug or a colossal oversight.

6月2日下午1:51