Stats

137 Contributors: 5
2017-08-04
Licensed under: CC-BY-SA

Not affiliated with Stack Overflow
Rip Tutorial: info@zzzprojects.com

Download eBook

Facebook SDK for Android

Download android eBook

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

Related Examples