JFacebookUser::deletePermission
Method to revoke a specific permission on behalf of a user. Requires authentication.
Signature
public function deletePermission(mixed
$user,
[string
$permission = ''] )
Parameters
-
$user
- Either an integer containing the user ID or a string containing the username.
-
$permission
- The permission to revoke. If none specified, then this will de-authorize the application completely.
Returns
- mixed
- The decoded JSON response or false if the client is not authenticated.