Package selection guidance compiled from public package information, community data, and project usage.
The flutter_meta_sdk package enables seamless integration of Facebook's Meta SDK into Flutter applications. It allows developers to track app events, manage user authentication via Facebook, and leverage Facebook's analytics and advertising tools through the Facebook Developer Dashboard. Compatible with Android, iOS, and Web platforms, the package simplifies cross-platform implementation of Meta services. With straightforward setup using `flutter pub add`, it supports real-time event tracking and deep linking for enhanced user engagement.
Use cases
Tracking user events in apps
Integrating Facebook login
Implementing ad tracking and analytics
Enabling deep linking
Cross-platform Meta SDK support
Key features
Facebook SDK integration
Event tracking capabilities
Support for Android, iOS, and Web
Easy pub package installation
Developer dashboard compatibility
Suitable for
Mobile and web apps using Facebook services
Apps requiring user analytics
Marketing and ad campaign tracking
Developers using Facebook Developer Dashboard
Considerations
Requires Facebook Developer account setup
Needs proper configuration in Facebook Dashboard
May require additional permissions for certain features
Web support may have limited functionality compared to native platforms
Original README
Original README snapshot from the linked source repository. Visit the repository for the latest content.
If your code already contains CFBundleURLTypes, insert the following:
<array><dict><key>CFBundleURLSchemes</key><array><string>fb[APP_ID]</string></array></dict></array><key>FacebookAppID</key><string>[APP_ID]</string><key>FacebookClientToken</key><string>[CLIENT_TOKEN]</string><key>FacebookDisplayName</key><string>[APP_NAME]</string>
# For Android
For more information you can see full setup from [Facebok SDK Official](https://developers.facebook.com/docs/android/)
Read through the "[Getting Started with App Events for Android](https://developers.facebook.com/docs/app-events/getting-started-app-events-android)" tutorial and in particular, follow [step 3](https://developers.facebook.com/docs/app-events/getting-started-app-events-android#step-3--integrate-the-facebook-sdk-in-your-android-app) by adding the following into `/app/res/values/strings.xml` (or into respective `debug` or `release` build flavor)
```xml
<stringname="facebook_app_id">[APP_ID]</string><stringname="facebook_client_token">[CLIENT_TOKEN]</string>
After that, add that string resource reference to your main AndroidManifest.xml file, directly under the <application> tag.
Please refer to the official SDK documentation for Facebook App Events
iOS
and
Android respectively for the correct and expected behavior. Please
report an issue
if you find anything that is not working according to official documentation.
Getting involved
First of all, thank you for even considering to get involved. You are a real super :star: and we :heart: you!
Reporting bugs and issues
Use the configured Github issue report template when reporting an issue. Make sure to state your observations and expectations
as objectively and informative as possible so that we can understand your need and be able to troubleshoot.
Feel free to open a thread if you are having any questions on how to use either the Facebook SDK as a reporting tool
itself or even on how to use this plugin.