انقطاع جزئي للخدمة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
تم طرح السؤال منذ حوالي ‏٧‏ أشهر
Prasanth

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

‏١٦ أبريل‏‏٢:٣٧ ص‏111
الإجابة المحددة
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.

‏١٦ أبريل‏‏٢:٥٦ ص‏111
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

‏٢٥ أبريل‏‏٨:٢٨ م‏111
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.

‏٢ يونيو‏‏١:٥١ م‏111