Facebook API: Removing email permission - auth_revokeExtendedPermission
I want to remove the extended email permission if I only get the "@proxymail.facebook.com" email adress.
I use the new API version = 开发者_高级运维2.1.2
I tried this way, but that dont works:
$facebook->api('facebook.auth.revokeExtendedPermission',array(
'perm' => 'email',
'uid' => $uid
));
thx
You'll have to call this in a different way, because the api
method on the FB PHP SDK is polymorphic.
Try this:
<?php
$facebook->api(array(
'method' => 'auth.revokeExtendedPermission',
'perm' => 'email',
'uid' => $uid
));
精彩评论