OpenFlutter / flutter_share_me

Flutter Plugin for sharing contents to social media. You can use it share to Facebook , WhatsApp , Twitter And System Share UI. Support Url and Text.
https://github.com/lizhuoyuan
Apache License 2.0
150 stars 145 forks source link

The SDK has not been initialized, make sure to call FacebookSdk.sdkInitialize() first. #84

Open amalinivos opened 2 years ago

amalinivos commented 2 years ago

i'm getting this error when I trying run the code

Parsley94 commented 2 years ago

Same is happening to me, did you manage to solve it some how ?

ZedanLab commented 2 years ago

@amalinivos @Parsley94

Make sure you added the Facebook client token in your Manifest and Info.plist files.

Resources: https://facebook.meedu.app/docs/4.x.x/android https://facebook.meedu.app/docs/4.x.x/ios

Parsley94 commented 2 years ago

@ZedanLab I don't really understand, do I have to integrate flutter_facebook_auth into my app in order for this plugin (flutter_share_me) to work ?

Parsley94 commented 2 years ago

@ZedanLab @amalinivos I'm happy to say guys that it worked for me, I just followed the steps of integrating the flutter_facebook_auth library and then it worked. But unfortunately messenger is not working

yihu5566 commented 2 years ago

https://github.com/thebergamo/react-native-fbsdk-next/issues/236#issuecomment-1111744717

SimonRijn commented 1 year ago

@amalinivos @Parsley94

Make sure you added the Facebook client token in your Manifest and Info.plist files.

Resources: https://facebook.meedu.app/docs/4.x.x/android https://facebook.meedu.app/docs/4.x.x/ios

This worked for me :-)