我想发布到我的Facebook墙上。我有publish_stream权限。我的代码如下:
//stream publish method
function streamPublish(name, description, hrefTitle, hrefLink, userPrompt){
FB.ui(
{
method: 'stream.publish',
message: '',
attachment: {
name: name,
caption: '',
description: (description),
href: hrefLink
},
action_links: [
{ text: hrefTitle, href: hrefLink }
],
user_prompt_message: userPrompt
},
function(response) {
});
}
function showStream(beschreibung,link){
//FB.api('/me', function(response) {
//console.log(response.id);
streamPublish(response.name,beschreibung, "orf.at",link, "Teile www.orf.at");
//});
}
这是我得到的错误: Fehler:未被捕获的例外:错误:http://static.ak.facebook.com wurde dieErlaubnisfürdasLesen der Eigenschaft Proxy.InstallTrigger verweigert。
我错过了什么吗?