Guide to Facebook - WindSekirun/RxSocialLogin GitHub Wiki

Steps to add module

add this dependency in app/build.gradle

implementation 'com.facebook.android:facebook-android-sdk:4.23.0'

add this statement in AndroidManifest.xml

<activity
            android:name="com.facebook.FacebookActivity"
            android:configChanges="keyboard|keyboardHidden|screenLayout|screenSize|orientation"
            android:label="@string/app_name" />

<meta-data android:name="com.facebook.sdk.ApplicationId"
            android:value="YOUR-API-KEY"/>

Config Objects

facebook(getString(R.string.facebook_api_key)) {
    behaviorOnCancel = true
    requireWritePermissions = false
    imageEnum = FacebookConfig.FacebookImageEnum.Large
}