下面是代碼:錯誤張貼到Facebook的牆API時:發生錯誤(#100)鏈接網址的格式不正確
attachment = { message:'', name: 'post title', caption: 'user just did something',
link: 'post URL', action_links: [{ text: 'action link test', href: 'http://example.com'}]
};
FB.api('/me/feed', 'post', attachment, function(response) {
if (!response || response.error) {
alert('Error occured ' + response.error.message);
} else {
alert('Post ID: ' + response.id);
}
});
任何線索?
怎麼樣「後的URL看起來很象以前? – ifaour
該帖子成功,但操作鏈接 - 這是原始問題的癥結所在 - 仍然沒有出現。我們做什麼行爲鏈接錯了? – Crashalot