Share an image with react-native-fbsdk?
问题 I'm trying to share an image to Facebook in React Native through the react-native-fbsdk package. I have the following, copied almost completely from the docs, but I can't figure out how to format the imageUrl , I keep getting errors saying the SharingContent is invalid . What am I doing wrong here? const sharePhotoContent = { contentType: 'photo', photos: [ { imageUrl: "./local/image/path.png", userGenerated: false, caption: "Hello World" } ] }; ShareDialog.canShow(sharePhotoContent).then(