0

我正在尝试这里看到的基本示例:Facebook4 plugin

facebookConnectPlugin.showDialog({
    method: "send",
    caption: "Check this out.",
    link: "http://example.com",
    description: "The site I told you about",
    picture: "http://example.com/image.png"
}, function(result) {
    // Success!
    $timeout(function () {
        $ionicLoading.hide();
    });
    console.log("success", result);
}, function(err) {
    // An error occured. Show a message to the user
    $timeout(function () {
        $ionicLoading.hide();
    });
    console.log("error - ", err);
});

我收到此错误消息:

Cannot show dialog

我真的不知道这是怎么回事......现在找了很长时间没有任何进展。有什么帮助吗?

我不认为它是链接的,但登录时询问的权限是

["public_profile", "email", "user_birthday"]

谢谢 !

4

0 回答 0