Search packages, repositories and app categories

Package detailsv1.0.0

flutter_facebook_sdk

A flutter plugin to get facebook deep links and log app events using the latest Facebook SDK to include support for iOS 14

AndroidiOS
30-day downloads
43
Likes
50
Pub points
130

Install package

flutter pub add flutter_facebook_sdk

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

A Flutter plugin that enables integration with the latest Facebook SDK, allowing developers to handle Facebook deep links and log app events. It supports iOS 14 features, ensuring compatibility with recent platform requirements. The package simplifies tracking user engagement and attribution by providing access to Facebook's analytics and deep linking capabilities within Flutter apps. Ideal for apps aiming to enhance user acquisition and retention through Facebook's ecosystem.

Use cases

  • Handling Facebook deep links
  • Tracking app events for analytics
  • Supporting iOS 14 deep linking features
  • Integrating Facebook Pixel for marketing insights
  • Enabling app-to-app navigation via Facebook links

Key features

  • Supports iOS 14 deep linking
  • Real-time event logging
  • Seamless integration with Facebook SDK
  • Cross-platform Android and iOS support
  • Easy setup with Flutter pub
  • Provides attribution data

Suitable for

  • Marketing-focused mobile apps
  • Apps using Facebook ads
  • Developers needing deep link tracking
  • Analytics-driven product teams
  • Apps requiring user journey attribution

Considerations

  • Requires Facebook App setup
  • Needs proper permissions on iOS
  • May require additional configuration for iOS 14 privacy compliance
  • Dependent on Facebook SDK updates
  • Limited to Facebook-specific functionality

Original README

Original README snapshot from the linked source repository. Visit the repository for the latest content.

Facebook Sdk For Flutter

⚠️ Project Status: Unmaintained

This repository is no longer actively maintained.

I originally created this plugin out of necessity to support Facebook deep links, deferred deep links, and app events in Flutter using the newer Facebook SDK versions available at the time. Unfortunately, due to work and life commitments, I was not able to continue maintaining the project as much as I intended.

The repository will remain available for reference. There are multiple community forks of this project that may contain updates or fixes, so I recommend checking the forks if you plan to use this plugin.

GitHub code size GitHub followers GitHub contributors Linkedin LinkedIn GitHub GitHub

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.

Prerequisites

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)

For IOS

  • If your code does not have CFBundleURLTypes, add the following just before the final element:
 <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/>

For Android

  • Add the following to your strings.xml file
<string name="facebook_app_id">[APP_ID]</string>
<string name="fb_login_protocol_scheme">fb[APP_ID]</string>
  • Add the following meta tag to the application element in AndroidManifest.xml
<meta-data android:name="com.facebook.sdk.ApplicationId" android:value="@string/facebook_app_id"/>
  • Add the following element in AndroidManifest.xml
<uses-permission android:name="android.permission.INTERNET"/>
  • Don't forget to replace [APP_ID] with your Application ID

Categories

Source repository

Projects using this package

No data available yet.