facebookarchive / react-native-fbsdk

A React Native wrapper around the Facebook SDKs for Android and iOS. Provides access to Facebook login, sharing, graph requests, app events etc.
https://developers.facebook.com/docs/react-native
Other
2.99k stars 909 forks source link

Any plans for FBSDK 8.0? #799

Closed gnuwilliam closed 3 years ago

gnuwilliam commented 3 years ago

Hello!

I just started using this lib on my project, and followed the official Facebook SDK integration docs to install and compile on both Android and iOS (https://developers.facebook.com/docs/react-native/configure-ios and https://developers.facebook.com/docs/react-native/configure-android), however, the user profile always come with a placeholder image. Doing some research, I discovered that in FBSDK 8.0, it's going to be required to pass the accessToken in order to retrieve the user avatar.

According to the official documentation (https://developers.facebook.com/docs/graph-api/reference/user/picture/), as of October 24th 2020, this will be the only way to retrieve the user picture, but it looks like when you install following the Facebook SDK documentation, they provide the 8.0 version already, since I'm having this issue. I'm wondering if this lib will also be updated to 8.0 soon, or if this will come later.

Thanks!

Jonovono commented 3 years ago

Curious about this as well

michaelknoch commented 3 years ago

It would be great to use FBSDK 8.0 to fully support iOS 14 with the latest privacy changes. I am happy to support this if needed, please let me know.

Jonovono commented 3 years ago

@michaelknoch would definitely appreciate it. From what I understand FBSDK 8.0 is required to fetch user profiles going forward.

michaelknoch commented 3 years ago

@Jonovono seems that there is already a pr https://github.com/facebook/react-native-fbsdk/pull/804

gnuwilliam commented 3 years ago

It looks like this was solved with #804, so I'm closing the issue.