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 910 forks source link

FBSDKShareOpenGraphObject Expected a type #724

Open resting opened 4 years ago

resting commented 4 years ago

Got this error in RCTConvert+FBSDKSharingContent.h on the line (FBSDKShareOpenGraphObject *)FBSDKShareOpenGraphObject:(id)json; with facebook-ios-sdk v6.2.0, when building iOS.

Noticed that FBSDKShareOpenGraphObject was removed in v6.0.0 https://github.com/facebook/facebook-ios-sdk/blob/v6.0.0/CHANGELOG.md#sharekit.

However, am having with the login implementation with facebook-ios-sdk v5.15.1 on iOS 13.3.1. Anyone got the login to work on iOS 13 with facebook-ios-sdk v5.15.1?

harryrein3 commented 4 years ago

Same, anyone know the solution here?

edu1525 commented 4 years ago

Same here

michtnt commented 4 years ago

any solution?

sagar789 commented 3 years ago

I have fixed this issue by upgrading my FBSDK version to v5.13.1. FBSDK : v5.13.1 "react-native-fbsdk": "^0.10.3", "react-native": "^0.59.6", find the latest version of the SDKs here https://github.com/facebook/facebook-ios-sdk/releases?after=v5.14.0

Hope this will help Thanks