搜索插件、代码仓与 APP 分类

插件详情v1.0.0

flutter_facebook_sdk

一个 Flutter 插件,使用最新的 Facebook SDK 获取 Facebook 深度链接并记录应用事件,以支持 iOS 14

AndroidiOS
近 30 天下载
43
喜欢数
50
Pub 分数
130

安装插件

flutter pub add flutter_facebook_sdk

插件介绍

基于插件公开信息、社区数据与项目使用情况整理的选型参考。

一个 Flutter 插件,可与最新的 Facebook SDK 集成,使开发者能够处理 Facebook 深度链接并记录应用事件。它支持 iOS 14 功能,确保与最新平台要求的兼容性。该包通过提供对 Facebook 分析和深度链接功能的访问,简化了用户参与度和归因跟踪。非常适合希望借助 Facebook 生态系统提升用户获取和留存的应用。

适合场景

  • 处理 Facebook 深链接
  • 用于分析的跟踪应用事件
  • 支持 iOS 14 深度链接功能
  • 集成 Facebook Pixel 以获取营销洞察
  • 通过 Facebook 链接启用应用间导航

主要特点

  • 支持 iOS 14 深度链接
  • 实时事件日志
  • 与 Facebook SDK 的无缝集成
  • 跨平台 Android 和 iOS 支持
  • 使用 Flutter pub 轻松设置
  • 提供归属数据

适合对象

  • 以营销为重点的移动应用
  • 使用 Facebook 广告的应用程序
  • 需要深度链接跟踪的开发者
  • 以分析为导向的产品团队
  • 需要用户旅程归因的应用程序

使用建议

  • 需要 Facebook 应用设置
  • 在 iOS 上需要正确的权限
  • 可能需要额外配置以满足 iOS 14 隐私合规要求
  • 依赖于 Facebook SDK 更新
  • 仅限于 Facebook 特定功能

原始 README

以下为关联源码仓库的 README 原文快照,最新内容请访问源码仓库。

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

所属分类

源码仓库

使用此插件的项目

暂无相关数据。