facebook_sdk_flutter
allows you to fetch deep links
, deferred deep links
and log facebook app events
.
This was created using the latest facebook SDK to include support for iOS 14. The plugin currently supports app events and deeps links for iOS and Android.
First of all, if you don't have one already, you must first create an app at Facebook developers: https://developers.facebook.com/
Get your app id (referred to as [APP_ID] below)
<key>CFBundleURLTypes</key>
<array>
<dict>
<key>CFBundleURLSchemes</key>
<array>
<string>fb[APP_ID]</string>
</array>
</dict>
</array>
<key>FacebookAppID</key>
<string>[APP_ID]</string>
<key>FacebookDisplayName</key>
<string>[DISPLAY_NAME]</string>
<key>FacebookAutoLogAppEventsEnabled</key>
<true/>
<key>FacebookAdvertiserIDCollectionEnabled</key>
<true/>
* Add the following meta tag to the application element in AndroidManifest.xml
* Add the following element in AndroidManifest.xml
* Don't forget to replace [APP_ID] with your Application ID