Android Facebook SDK for Android

Help us to keep this website almost Ad Free! It takes only 10 seconds of your time:
> Step 1: Go view our video on YouTube: EF Core Bulk Extensions
> Step 2: And Like the video. BONUS: You can also share it!

Syntax

  • newInstance : To create single instance of Facebook helper class.
  • loginUser : To login user.
  • signOut : To log out user.
  • getCallbackManager : To get callback for Facebook.
  • getLoginCallback : To get callback for Login.
  • getKeyHash : To generate Facebook Key Hash.

Parameters

ParameterDetails
TAGA String used while logging
FacebookSignInHelperA static reference to facebook helper
CallbackManagerA callback for facebook operations
ActivityA context
PERMISSION_LOGINAn array that contains all permission required from facebook to login.
loginCallbackA callback for facebook login


Got any Android Question?