我正在使用 Facebook 的 Javascript SDK 发布到用户墙上。
执行实际发布的代码是:
linkUrl
是一个完全限定的域名。
FB.ui({
method: "feed",
link:linkUrl,
picture:imgUrl,
name:title,
"description":description,
actions: [
{name: linkUrl, link: linkUrl}
]
},
function (response) {
if (response != null || response != undefined) {
fadeOutAlert = true;
self.fbMessageLabel.innerHTML = "Thank you, your Facebook post has been successful!";
self.fbMessageDialog.dialog("open");
};
});
该帖子运行良好,并出现在用户墙上,但附加了link
Facebook 。access_token
所以不是链接到my.website.com
它实际上是链接到my.website.com/#access_token=aReallyLongAccessToken&expires_in=5684
有没有办法防止access_token
被附加到link
?