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:

http://www.majorforms.com/thumbnail.php?width=1200&height=1200&image=1033/4f/4f313dee7641ba3add3ac080f451277a9af9f0cc.jpg

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

Popular posts from this blog

linux - xterm copying to CLIPBOARD using copy-selection causes automatic updating of CLIPBOARD upon mouse selection -

c++ - qgraphicsview horizontal scrolling always has a vertical delta -