title: Share custom message, link and image on facebook via facebook sharer.php or using FB.api
body: <p>I want to implement facebook sharing. I tried using the facebook sharer.php but it no more accepts custom parameters (deprecated by facebook). Also, I saw an option to use the FB.api to post on facebook.</p>
  
  <p>I just want to know the correct syntax for doing this using FB.api where I can share some custom message, image and link.
  P.S. - The application that I am working on is Java based and pages are jsp pages.</p>
  
  <p>Thanks in advance.</p>