This example demonstrates about How to use facebook SDK in Android studio
Download the SDK from the Maven Central Repository:
buildscript { repositories { mavenCentral()}}
Compile the latest version of the SDK:
dependencies { implementation 'com.facebook.android:facebook-android-sdk:[5,6)' }