8

I'm using Facebook SDK 3.19.1, Parse 1.8.0, During login via Facebook, my app asks for basic permissions only - public profile & email. When using ParseFacebookUtils.logIn method, how to re-ask declined permissions?

I didn't find any param where I could specify auth_type.

Timmy Simons
  • 599
  • 8
  • 21

1 Answers1

3

You dont need to explicitly call auth_type: 'reauthenticate'. You should only recall logInWithReadPermissions and this will make the job.

So make sure you are calling:

 Collection<String> permissions = Arrays.asList("public_profile", "user_friends");   
 loginManager.logInWithReadPermissions(this, permissions);

This will only work if you are not calling logout before the new logInWithReadPermissions.

This question may help you with more details.

Community
  • 1
  • 1
adolfosrs
  • 9,286
  • 5
  • 39
  • 67