我正在尝试这里看到的基本示例: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"]
谢谢!