137 Contributors: 5 Friday, August 4, 2017
Licensed under: CC-BY-SA
Not affiliated with Stack Overflow
Rip Tutorial:
Roadmap: roadmap
Download eBook

Facebook SDK for Android

Download android eBook


  • 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.


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

Related Examples