Skip to content

griajobag/flutter_facebook_sdk_new

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Facebook Sdk For Flutter

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 xCode 16 and Flutter 2.3.XX. The plugin currently supports app events and deeps links for iOS and Android.

First owner social media

GitHub code size GitHub followers GitHub contributors Linkedin LinkedIn GitHub GitHub

Maintained by

This package is important for several projects. The original package was not well maintained by its original author, so I forked it and have made some updates through this package.

GitHub GitHub Linkedin LinkedIn

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

About

replacing of unmaintained package flutter_facebook_sdk

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published