//var imgURL="http://xxxx.xxx:8084/xxx/largedynamicimagethattakestime
FB.api(
'/me/photos',
'post',
{
message:' coffee',
url: imgURL
},
function(response) {
if (!response || response.error) {
alert('Error occured'+response.error);
}
else {
//...........
}
}
);
読み込みが完了しfb.apiたときにのみ、この呼び出しを開始したいと思います。var imgURLこの画像をロードして、画像が完全にロードされたときdivにのみ呼び出す方法はありますか? fb.apiこの画像を投稿するための画像付きのボタンを提供することも歓迎されます。