facebooksharefbjs

Sharing a link with fbjs on facebook


I've read through the web after being given advice to use the jbjs SDK to share a link on facebook with specified image, title, link ...

Maybe someone experienced can tell me how to do that or at least, where I can find something specific on my sharing idea ... because I'm a newbe on the fbjs ...


Solution

  • FBJS has been deprecated by Facebook. Look at the new javascript sdk: http://developers.facebook.com/docs/reference/javascript/

    To share links you use the FB.ui method. http://developers.facebook.com/docs/reference/javascript/FB.ui/

    Consider you need user input for this, it's just the way it works.