facebook / facebook-sdk-for-unity

The facebook sdk for unity.
https://developers.facebook.com/docs/unity
Other
491 stars 257 forks source link

Limited Login: FB.Mobile.CurrentProfile().FriendIDs is sometimes randomly empty #556

Closed mike-wooga closed 3 years ago

mike-wooga commented 3 years ago

Checklist

Environment

Goals

Limited FB users consistently receive all IDs of friends who use the app in FB.Mobile.CurrentProfile().FriendIDs

Steps to Reproduce

Preriquisites:

Steps:

  1. Open the supplied Sample Project in Unity 2018.4.23f1
  2. Go to Facebook-> Edit Settings and enter the App ID of your FB app
  3. Build the project onto your iOS14 device
  4. Start the build and deny ATT pop-up.
  5. Log in with FB user A.
  6. Restart the build, log in with FB user B.
  7. Observe that the app displays the the App ID of user A, since it's a friend of user B who uses this app.
  8. Press 'Refresh' 10-20 times

Expected Results

Each time 'Refresh' is pressed, the app re-authenticates to Facebook and displays a correct list of IDs of FB friends who use the app

Actual Results

In 10% cases, the list of FB friend IDs is empty

Code Samples & Details

Sample Project

ppansy commented 3 years ago

Thanks for reporting! This is likely caused by an internal server issue that was fixed a couple days ago. Please verify if the issue is resolved now, thanks

mike-wooga commented 3 years ago

Hello @ppansy, thanks for your reaction (: Unfortunately, the issue still persists on our side. During the last 2h, the SDK returned an empty friend list in 38/55 of our authentications (~70%). The issue doesn't seem to follow any pattern.

ppansy commented 3 years ago

thanks for checking, will work with the team to investigate

ppansy commented 3 years ago

@mike-wooga Thanks for being patient, we identified another error which seem to be the root cause for your issue. It should be resolved now.

mike-wooga commented 3 years ago

Thank you! I confirm, the issue seems fixed on our side (: