Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Facebook Limited Login in Unity Fails to Fetch Updated Friends List #740

Open
ranashoaibaslam opened this issue Nov 17, 2024 · 0 comments
Open
Labels

Comments

@ranashoaibaslam
Copy link

  • Unity Editor Version: 2021.3.42f1
  • Unity SDK Version: 17.0.0
  • Installation Platform & Verison: iOS version 18.1

When an iOS user logs in through Facebook Limited Login, the FB.Mobile.CurrentProfile() returns a list of friend IDs. However, the list remains outdated if the user kills our app and unfriends someone or adds a new friend on Facebook and then reopens the app. The only way I've found to update the list is by logging the user out and logging them back in, but this isn't an ideal solution. Is there a better way to refresh the friends list automatically every time the app is launched?

I call FB.Mobile.CurrentProfile() on every subsequent app launch, but it consistently returns an outdated friends list. I was expecting it to fetch and return an updated friends list each time the app is launched.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant