title: How to post an image on facebook using the following code
body: <p>How to post an image on facebook using the following code?</p>
  
  <pre><code>function share() {
  openFB.api({
  method: 'POST',
  path: '/me/feed',
  params: {
  
  message: document.getElementById('Message').value, file: document.getElementById('file').
  },
  </code></pre>