facebook/facebook-android-sdk is an open-source project on GitHub with 6.5k stars, written primarily in Kotlin. Used to integrate Android apps with Facebook Platform.
Snapshot summary built from the project's own GitHub metadata — there's no written TopGit review yet. The page will update automatically when a full review is published.
WHY NO REVIEW YET
TopGit writes full reviews for the most-starred, most-requested repositories. This page is a snapshot until then — see the READ ME tab for the original README in full.
This library allows you to integrate Facebook into your Android app.
Learn more about the provided samples, documentation, integrating the SDK into your app, accessing
source code, and more at https://developers.facebook.com/docs/android
:wave: The SDK team is eager to learn from you! Fill
out this survey to
tell us what’s most important to you and how we can improve.
TRY IT OUT
Check-out the tutorials available online
at https://developers.facebook.com/docs/android/getting-started
Start coding! Visit https://developers.facebook.com/docs/android/ for tutorials and reference
documentation.
FEATURES
Login
Sharing
Messenger
App Links
Analytics
Graph API
Marketing
FACEBOOK LOGIN AUTHENTICATION SURFACES
Facebook Login authentication in app-owned Android embedded browsers (WebViews) is no longer
supported. Use the SDK's native Facebook app login or supported browser-based authentication,
such as Chrome Custom Tabs, rather than forcing an embedded-WebView authentication flow. See the
2021 deprecation announcement.
Legacy WebView-related classes may remain in the source; their presence does not establish that
embedded-browser authentication is supported. This restriction is distinct from login through
the Facebook Android app, whose own authentication surface can use a Facebook-owned WebView.
STRUCTURE
The SDK is separated into modules with the following structure.
Facebook SDKs are broken up into separate modules as shown above. To ensure the most optimized use
of
space only install the modules that you intend to use. To get started, see the Installation section
below.
Any Facebook SDK initialization must occur only in the main process of the app. Use of Facebook SDK
in processes other than the main process is not supported and will likely cause problems.
INSTALLATION
Facebook SDKs are published to Maven as independent modules. To utilize a feature listed above
include the appropriate dependency (or dependencies) listed below in your app/build.gradle file.
dependencies {
// Facebook Core only (Analytics)
implementation 'com.facebook.android:facebook-core:latest.release'
// Facebook Login only
implementation 'com.facebook.android:facebook-login:latest.release'
// Facebook Share only
implementation 'com.facebook.android:facebook-share:latest.release'
// Facebook Messenger only
implementation 'com.facebook.android:facebook-messenger:latest.release'
// Facebook App Links only
implementation 'com.facebook.android:facebook-applinks:latest.release'
// Facebook Marketing only
implementation 'com.facebook.android:facebook-marketing:latest.release'
// Facebook Android SDK (everything)
implementation 'com.facebook.android:facebook-android-sdk:latest.release'
}
You may also need to add the following to your project/build.gradle file.
buildscript {
repositories {
mavenCentral()
}
}
GIVE FEEDBACK
Please report bugs or issues to https://developers.facebook.com/bugs/
You can also visit
our Facebook Developer Community Forum,
join the Facebook Developers Group on Facebook,
ask questions on Stack Overflow,
or open an issue in this repository.
SECURITY
See the SECURITY POLICY for more info on our bug bounty program.
CONTRIBUTING
We are able to accept contributions to the Facebook SDK for Android. To contribute please do the
following.
Follow the instructions in
the CONTRIBUTING.md.
Submit your pull request to the main
branch. This allows us to merge your change into our internal main and then push out the change in
the next release.
LICENSE
Except as otherwise noted, the Facebook SDK for Android is licensed under the Facebook Platform
License (https://github.com/meta/facebook-android-sdk/blob/main/LICENSE.txt).
Unless required by applicable law or agreed to in writing, software distributed under the License is
distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied. See the License for the specific language governing permissions and limitations under the
License.
DEVELOPER TERMS
By enabling Facebook integrations, including through this SDK, you can share information with
Facebook, including information about people’s use of your app. Facebook will use information
received in accordance with our Data Use Policy (https://www.facebook.com/about/privacy/),
including to provide you with insights about the effectiveness of your ads and the use of your
app. These integrations also enable us and our partners to serve ads on and off Facebook.
You may limit your sharing of information with us by updating the Insights control in the
developer tool (https://developers.facebook.com/apps/[app_id]/settings/advanced).
If you use a Facebook integration, including to share information with us, you agree and confirm
that you have provided appropriate and sufficiently prominent notice to and obtained the
appropriate consent from your users regarding such collection, use, and disclosure (including, at
a minimum, through your privacy policy). You further agree that you will not share information
with us about children under the age of 13.
You agree to comply with all applicable laws and regulations and also agree to our
Terms (https://www.facebook.com/policies/), including our Platform
Policies (https://developers.facebook.com/policy/) and Advertising Guidelines, as
applicable (https://www.facebook.com/ad_guidelines.php).
By using the Facebook SDK for Android you agree to these terms.
How active is development on facebook/facebook-android-sdk?
The most recent commit recorded on facebook/facebook-android-sdk was 7 days ago, based on the GitHub push timestamp. The repository has 3.7k forks — one of the better signals of community interest.
How many stars does facebook/facebook-android-sdk have?
facebook/facebook-android-sdk has 6.5k GitHub stars — refresh the page for the live number, or check github.com/facebook/facebook-android-sdk. TopGit mirrors GitHub's count but does not claim minute-by-minute accuracy.
Is facebook/facebook-android-sdk open source?
TopGit's metadata for facebook/facebook-android-sdk does not record a license. Most public repositories on GitHub ARE open source, but the exact terms vary — verify by opening the LICENSE file directly.
What is facebook/facebook-android-sdk?
facebook/facebook-android-sdk (facebook/facebook-android-sdk) is a Kotlin project on GitHub. From the project's own README: Used to integrate Android apps with Facebook Platform.
Where do I read more about facebook/facebook-android-sdk?
This TopGit page is a snapshot — the READ ME tab shows the project's own README content (links stripped, images preserved). The GitHub repository at github.com/facebook/facebook-android-sdk is the definitive source.
Read full README in the tab above.
Still deciding about facebook-android-sdk?
One click hands the question to an AI along with this page — see what it says about facebook-android-sdk.