开发者

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
));
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜