สัญญาณขาดหายบางส่วน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

16 เมษายน เวลา 02: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.

16 เมษายน เวลา 02: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

25 เมษายน เวลา 20: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.

2 มิถุนายน เวลา 13:51 น.