facebook - Sharing an image from javascript SDK does not load the image? -
here simple code:
var obj = { method: "feed", link: share_url, picture: share_url, name: "test name", caption: "test caption", description: "using dialogs interact users." }; function callback(response) { console.log(response); } fb.ui(obj, callback);
the share_url this:
the thing post written on wall, image not there! though have given same url "link" , "picture". why that?
here answer. if leave out picture parameter, works! e.g.
var obj = { method: "feed", link: share_url, name: "test name", caption: "test caption", description: "using dialogs interact users." }; function callback(response) { console.log(response); } fb.ui(obj, callback);
i don't know why, how is.
Comments
Post a Comment