FLUTTER ECOSYSTEM

saadfarhan124/flutter_facebook_sdk

최신 Facebook SDK를 사용하여 Facebook 딥 링크를 가져오고 앱 이벤트를 기록하는 Flutter 플러그인으로 iOS 14 지원 포함

flutter_facebook_sdk 프로젝트 이미지
Stars
26
Forks
88
최근 푸시(UTC)
2026. 3. 13.
프로젝트 상태
활성
Saad Farhan GitHub avatar
GITHUB User

Saad Farhan ↗

Karachi, Pakistan
언어DartSwiftKotlinRubyObjective-C

이 저장소가 배포한 패키지

사용 중인 의존성

의존성 목록 2 개
  • flutter{"sdk":"flutter"}
  • flutter_test개발 의존성{"sdk":"flutter"}

원본 README

아래는 영문 원문 스냅샷입니다. 최신 내용은 GitHub에서 확인하세요.

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