flutter_facebook_devonics

Facebook Plugin Android from Devonics

Getting Started

Init Facebook and get DeepLink

dynamic deepLink = await FlutterFacebookDevonics.getDeepLink();

Add a string element with the name attribute facebook_app_id and value as your Facebook App ID to the file. For example

<string name="facebook_app_id">Facebook App ID</string>
<string name="facebook_client_token">Facebook Client ID</string>

Add a uses-permission element to the manifest:

<uses-permission android:name="android.permission.INTERNET"/>

Add a meta-data element to the application element:

<application android:label="@string/app_name" ...>
    ...
    <meta-data android:name="com.facebook.sdk.ApplicationId" android:value="@string/facebook_app_id"/>
    <meta-data android:name="com.facebook.sdk.ClientToken" android:value="@string/facebook_client_token"/>
    ...
</application>

Libraries

flutter_facebook_devonics