Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Facebook's setReadPermissions() on Login Button deprecated - what to use instead?

Im following Facebook's login tutorial for Android SDK and it seems login_button.setReadPermissions() is now deprecated:

enter image description here

What do I use as a replacement?

like image 418
Zorgan Avatar asked May 13 '19 22:05

Zorgan


People also ask

What is the log back in button on Facebook?

The Login button is a simple way to trigger the Facebook Login process on your website or web app. If someone hasn't logged into your app yet, they'll see this button, and clicking it will open a Login dialog, starting the login flow.


1 Answers

as written here setReadPermission is deprecated, use setPermissions instead

like image 120
andyrandy Avatar answered Sep 17 '22 06:09

andyrandy