GitShow/facebook/facebook-android-sdk
facebook

facebook-android-sdk

Used to integrate Android apps with Facebook Platform.

by facebook
Star on GitHubForkWebsite

Kotlin

6.5k stars3.7k forks247 contributorsActive · 1mo agoSince 2010sdk-version-18.3.0

Meet the team

See all 247 on GitHub →
jingping2015
jingping2015271 contributions
KylinChang
KylinChang156 contributions
jawwad
jawwad114 contributions
maxalbrightmeta
maxalbrightmeta97 contributions
mingflifb
mingflifb93 contributions
swiese
swiese50 contributions
dreamolight
dreamolight44 contributions
mingcaozhang
mingcaozhang43 contributions

Languages

View on GitHub →
Kotlin93.6%
Java6.1%
Shell0.3%
AIDL0%

Commit activity

Last 12 weeks · 15 commits

Full graph →

Community health

5 of 6 standards met

Community profile →
87
✓README✓License✓Contributing✓Code of Conduct○Issue Template✓PR Template

Recent PRs & issues

Active · Last activity 1mo ago
See all on GitHub →
lovebluedan
java.lang.RuntimeException: Unable to resume activity {com.xx.xx/com.facebook.FacebookActivity}: android.content.ActivityNotFoundExceptionOpenIssue

Checklist before submitting a bug report [x] I've updated to the latest released version of the SDK [x] I've searched for existing Github issues [x] I've looked for existing answers on Stack Overflow, the Facebook Developer Community Forum and the Facebook Developers Group [x] I've read the Code of Conduct [ ] This issue is not security related and can safely be disclosed publicly on GitHub Java version 21 Android version Android 11 Android SDK version 18.0.3 Installation platform & version Gradle Package Login Goals Device information From Firebase Crashlytics: Brand: Model: OS: Rooted: Orientation: App version: Crash date: Free RAM: Free disk: Facebook Login should not crash the app. If native Facebook app login is unavailable or invalid, the SDK should fail gracefully or fall back to Custom Tab / WebView login. Expected results When calling Facebook Login, the SDK should either: 1. launch the native Facebook app login successfully, or 2. fall back to web login, or 3. return / through . It should not throw a fatal exception from lifecycle. Actual results The app crashes with while is resuming. The SDK tries to launch: but Android reports that the explicit activity class cannot be found. Crash stack: Steps to reproduce We cannot reproduce it locally yet. It was reported by Firebase Crashlytics from a real user device. Code samples & details

lovebluedan · 23h ago
twinfire55002020infoorg-code
https://github.com/facebook/facebook-android-sdk/issues/new/chooseOpenIssue

Checklist before submitting a bug report [x] I've updated to the latest released version of the SDK [x] I've searched for existing Github issues [x] I've looked for existing answers on Stack Overflow, the Facebook Developer Community Forum and the Facebook Developers Group [x] I've read the Code of Conduct [x] This issue is not security related and can safely be disclosed publicly on GitHub Java version Facebook SDK for Android This documentation describes how to integrate your Android app with Facebook to build engaging social apps by using the Facebook SDK for Android. To learn more about using Facebook development tools, see App Development. The current version of the Facebook SDK for Android is version 16.0.0 and requires the Android API 15. Code and samples for the Facebook SDK for Android are available on GitHub. When you use the Facebook SDK for Android, follow the Facebook Open Source Terms of Use and Privacy Policy. ## Common Uses The Facebook SDK for Android gives you access to the following features: - Facebook Login — A secure and convenient way for people to log into your app or website by using their Facebook credentials. - Sharing — Enable people to post to Facebook from your app. People can share, send a message, and share to stories. - App Events — Understand people's actions in your app and measure the effectiveness of your Mobile App Ads. - Advertise Your App — Drive installs of your app by using Mobile App Install Ads. Increase engagement with your app by using Mobile App Engagement Ads. Find your target audience with Custom Audiences for Mobile Apps. ## Documentation Contents #### Component SDKs Describes the component SDKs of the Facebook SDK for Android. #### Getting Started A short tutorial to get you up and running. #### Calling the Graph API from Android Learn how to call the Facebook Graph API from your Android app. #### FAQ & Troubleshooting Frequently asked questions and troubleshooting information for the Facebook SDK for Android. #### Changelog Changelog and release notes for the Facebook SDK for Android. #### Upgrade Guide Instructions for upgrading your version of the Facebook SDK for Android. #### Devices Considerations when you use the Facebook SDK for Android with Android TV and Amazon's Fire TV. #### Downloads Instructions to reference the Facebook SDK for Android in your app and links to download old versions. ## See Also - Facebook SDK for iOS - Facebook Developer Documentation - Audience Network - Banner Ads - Interstitial Ads - Add Native Ads to an Android App Android version https://github.com/facebook/facebook-android-sdk/issues/new/choose Android SDK version Facebook SDK for Android This documentation describes how to integrate your Android app with Facebook to build engaging social apps by using the Facebook SDK for Android. To learn more about using Facebook development tools, see App Development. The current version of the Facebook SDK for Android is version 16.0.0 and requires the Android API 15. Code and samples for the Facebook SDK for Android are available on GitHub. When you use the Facebook SDK for Android, follow the Facebook Open Source Terms of Use and Privacy Policy. ## Common Uses The Facebook SDK for Android gives you access to the following features: - Facebook Login — A secure and convenient way for people to log into your app or website by using their Facebook credentials. - Sharing — Enable people to post to Facebook from your app. People can share, send a message, and share to stories. - App Events — Understand people's actions in your app and measure the effectiveness of your Mobile App Ads. - Advertise Your App — Drive installs of your app by using Mobile App Install Ads. Increase engagement with your app by using Mobile App Engagement Ads. Find your target audience with Custom Audiences for Mobile Apps. ## Documentation Contents #### Component SDKs Describes the component SDKs of the Facebook SDK for Android. #### Getting Started A short tutorial to get you up and running. #### Calling the Graph API from Android Learn how to call the Facebook Graph API from your Android app. #### FAQ & Troubleshooting Frequently asked questions and troubleshooting information for the Facebook SDK for Android. #### Changelog Changelog and release notes for the Facebook SDK for Android. #### Upgrade Guide Instructions for upgrading your version of the Facebook SDK for Android. #### Devices Considerations when you use the Facebook SDK for Android with Android TV and Amazon's Fire TV. #### Downloads Instructions to reference the Facebook SDK for Android in your app and links to download old versions. ## See Also - Facebook SDK for iOS - Facebook Developer Documentation - Audience Network - Banner Ads - Interstitial Ads - Add Native Ads to an Android App Installation platform & version https://github.com/facebook/facebook-android-sdk/issues/new/choose Package Core & AppEvents Goals 🥷🙇👂👩‍💼👨‍💼🤦‍♂️👌👍👩‍⚕️ Expected results Facebook SDK for Android This documentation describes how to integrate your Android app with Facebook to build engaging social apps by using the Facebook SDK for Android. To learn more about using Facebook development tools, see App Development. The current version of the Facebook SDK for Android is version 16.0.0 and requires the Android API 15. Code and samples for the Facebook SDK for Android are available on GitHub. When you use the Facebook SDK for Android, follow the Facebook Open Source Terms of Use and Privacy Policy. Common Uses The Facebook SDK for Android gives you access to the following features: Facebook Login — A secure and convenient way for people to log into your app or website by using their Facebook credentials. Sharing — Enable people to post to Facebook from your app. People can share, send a message, and share to stories. App Events — Understand people's actions in your app and measure the effectiveness of your Mobile App Ads. Advertise Your App — Drive installs of your app by using Mobile App Install Ads. Increase engagement with your app by using Mobile App Engagement Ads. Find your target audience with Custom Audiences for Mobile Apps. Documentation Contents Component SDKs Describes the component SDKs of the Facebook SDK for Android. Getting Started A short tutorial to get you up and running. Calling the Graph API from Android Learn how to call the Facebook Graph API from your Android app. FAQ & Troubleshooting Frequently asked questions and troubleshooting information for the Facebook SDK for Android. Changelog Changelog and release notes for the Facebook SDK for Android. Upgrade Guide Instructions for upgrading your version of the Facebook SDK for Android. Devices Considerations when you use the Facebook SDK for Android with Android TV and Amazon's Fire TV. Downloads Instructions to reference the Facebook SDK for Android in your app and links to download old versions. See Also Facebook SDK for iOS Facebook Developer Documentation Audience Network Banner Ads Interstitial Ads Add Native Ads to an Android App Actual results https://github.com/facebook/facebook-android-sdk/issues/new/choose Steps to reproduce _No response_ Code samples & details

twinfire55002020infoorg-code · 1d ago
hamadmarhoon
Feature Request: Add support for Google Play Billing Library v8+ for automatic in-app purchase logging (v7 deprecated Aug 31, 2026)OpenIssue

Checklist before submitting a feature request [x] I've updated to the latest released version of the SDK [x] I've searched for existing Github issues [x] I've read the Code of Conduct Goals The Facebook Android SDK's automatic in-app purchase logging currently only supports Google Play Billing Library versions 2 through 7. Google Play Billing Library v7 is being deprecated on August 31, 2026 (30 days from now), after which apps will need to migrate to a newer major version to continue receiving Play Store updates/support. Once apps migrate off v7, automatic IAP logging via the Facebook SDK will break for any app that upgrades, since there's no supported path for v8+. Request: extend automatic in-app purchase logging support to Google Play Billing Library v8+ (and ideally commit to keeping pace with future major versions) before the v7 deprecation deadline. Expected results Apps using Google Play Billing Library v8+ continue to have in-app purchases automatically logged as App Events by the Facebook Android SDK, with no gap in tracking as apps migrate off the deprecated v7. Ideally, a released SDK version with v8 support ships prior to August 31, 2026, so developers aren't forced to choose between Play Store compliance and losing purchase event data. Code samples & details

hamadmarhoon · 1w ago

Recent fixes

View closed PRs →
1wayticket
Why Facebook login always callback onCancel in android?ClosedIssue

Checklist before submitting a bug report [x] I've updated to the latest released version of the SDK [x] I've searched for existing Github issues [x] I've looked for existing answers on Stack Overflow, the Facebook Developer Community Forum and the Facebook Developers Group [x] I've read the Code of Conduct [x] This issue is not security related and can safely be disclosed publicly on GitHub Java version 19.0.0 Android version Android 35&36 has reproduced ;maybe all versions affected Android SDK version 35 Installation platform & version Maven facebook-login 18.0.3 Package facebook-login Goals Facebook login works well Expected results Make sure accounts affcted can be logined by facebook login sdk。 Actual results Some account never got onSuccess callback which got onCancel instead Steps to reproduce From today, my app always got FacebookCallback-->onCancel in some fb account。 It affect few account in production but never recover if happend;So what info should I provider to solve the probelm。 Code samples & details

1wayticket · 2w ago
Structured data for AI agents

Repository: facebook/facebook-android-sdk. Description: Used to integrate Android apps with Facebook Platform. Stars: 6456, Forks: 3705. Primary language: Kotlin. Languages: Kotlin (93.6%), Java (6.1%), Shell (0.3%), AIDL (0%). Homepage: https://developers.facebook.com/docs/android Latest release: sdk-version-18.3.0 (2mo ago). Open PRs: 7, open issues: 87. Last activity: 1mo ago. Community health: 87%. Top contributors: jingping2015, KylinChang, jawwad, maxalbrightmeta, mingflifb, swiese, dreamolight, mingcaozhang, kongxinzhu, jjiang10 and others.

·@ofershap

Replace github.com with gitshow.dev