I want to know that how to get Email id Of user who is currently log in to the Facebook when connecting with Facebook using intent.
I am using Facebook with using intent.
please share me some idea.
Thank you.
I want to know that how to get Email id Of user who is currently log in to the Facebook when connecting with Facebook using intent.
I am using Facebook with using intent.
please share me some idea.
Thank you.
there is a method which implements socialauthlistner using social auth library
link of library is https://github.com/3pillarlabs/socialauth
// To receive the profile response after authentication
private final class ProfileDataListener implements SocialAuthListener<Profile> {
@Override
public void onExecute(String provider, Profile Prof) {
ProfileMap profileMap = Prof;
email=profileMap.getEmail();
Toast.makeText(this, ""+email, Toast.LENGTH_SHORT).show();
}