0
我正在使用Facebook的JavaScript SDK張貼到用戶牆。Facebook牆貼是追加鏈接`accessToken`
執行實際職位的代碼是:
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
?