javascript - Facebook Share dialog without a link -
it possible show facebook share dialog (with javascript) without including link. share dynamic created image current users wall.
i know can post image through fb.api following, done in dialog instead.
var wallpost = { url: 'http://www.mypagethatgeneratestheurl.aspx', }; fb.api('/me/photos', 'post', wallpost , function(response) { if (!response || response.error) { debugger; alert('error occured'); } else { alert('post id: ' + response); } });
no, there feed dialog (with custom link , picture) , share dialog (with link , rest comes og tags). "sharing" links only, can´t "share" picture, have upload it. , possible api call posted.
Comments
Post a Comment