开发者

Deauthorize Callback user_id is 0

when a user delete the app the user_id in the signed_request is 0...

Here is the array:

Array
(
    [algorithm] => HMAC-SHA256
    [issued_at] => 1302690240
    [user] => Array
        (
            [country] => de
            [locale] => de_DE
        )

    [user_id] => 0
)

I've tried this with two facebook accounts. This is my test code:

require "lib/facebook/facebook.php";

$FACEBOOK = new Facebook(array(
            'appId'  => '123',
            'secret' => '123',
            'cookie' => true,
        ));
$logfile = fopen('fb.log', 'a+');
fwrite ($l开发者_运维知识库ogfile,print_r($_REQUEST,true). print_r($FACEBOOK->getSignedRequest(),true));
fclose ($logfile);

The "Requests 2.0" in the app settings is activated!

is something wrong in the code? Can anybody help my?

greetings!


Its a bug from facebook. Other peoples have the same problem.

i created a facebook bug ticket!

http://bugs.developers.facebook.net/show_bug.cgi?id=16733

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜