roughike/flutter_facebook_login

Facebook initialized error

ntsdev opened this issue · 2 comments

Hi Roughike,

I am getting this error when I try to run the app i had pasted same as you done

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

Hi,
Please make sure you add below config inside applicaton tag of AndroidManifest.xml:
<meta-data android:name="com.facebook.sdk.ApplicationId" android:value="@string/facebook_app_id"/>

This happens if you have not set the facebook app id properly. Follow the README instructions.