I search for a way to set compulsory permissions like email or user_friends. I set the method to set up the Facebook login button with read permissions. I use. Currently, when I check permissions on my account for my app, I get email and user-messenger optional. Without appraisal my app is useless.
My code is below:
Login Button AuthButton = (LoginButton) findViewById (R.id.login_button); AuthButton.setReadPermissions (Arrays.asList ("public_profile", "email", "user_friends"));
getPermissions Use (), isPermissionGranted () or getDeclinedPermissions () to check the current permissions, and if they have not given permissions, you are essentially posting a notice that they use your application Need to allow, preferably with any type of button that they call the RequestNewReadPermissions () function.
Comments
Post a Comment