title: How to open Facebook App from browser directly to share view
body: <p><strong>EDIT</strong>: <a href="https://stackoverflow.com/a/5707825/1021970">What are all the custom URL schemes supported by the Facebook iPhone app?</a></p>
  
  <p>I have got a web page where I got a <code>Facebook</code> sharing button.</p>
  
  <p>Now, I am dealing with <code>iPhone</code> users with already installed <code>Facebook App</code>.</p>
  
  <p>When the user clicks <code>share</code> on the page I do not want to open Facebook page, I would like to open the Facebook App for him.</p>
  
  <p>I have already added a piece of code:</p>
  
  <pre><code>&lt;a href="fb://" id="shareButton"&gt;Open FB Profile&lt;/a&gt;
  </code></pre>
  
  <p>This piece of code will open for user Facebook App. I would like to open the App directly with sharing view. Let's say I would like to open the App with link <code>https://stackoverflow.com/</code> and waiting for user confirmation (or even just post it without any user contribution).</p>
  
  <p>I found a page with <a href="http://wiki.akosma.com/IPhone_URL_Schemes#Facebook" rel="noreferrer">IPhone URL Schemes</a> but there is not something like <code>fb://share</code>.</p>
  
  <p>Has someone already implemented this way of sharing data with Facebook App?</p>
  
  <p>I will be really happy to see your solutions and, if it is possible, a piece of code.</p>
  
  <p>I tried to use</p>
  
  <pre><code>&lt;a href="fb://post?message=helloworld" id="shareButton"&gt;Open FB Profile&lt;/a&gt;
  </code></pre>
  
  <p>but nothing happens - it still opens Facebook App but there is not any post on my timeline. In fact, even <code>fb://map</code> opens the Facebook App in main view...</p>
  
  <p>Thank you in advance</p>
  
  <hr>
  
  <p><strong>EDIT:</strong></p>
  
  <p>I tried to use another way to publish something but it is not what I really want to do.  I would like to open Facebook App with dialog and ask user to share something(in fact, to accept what I want to share).</p>
  
  <p>With the <a href="https://developers.facebook.com/tools/explorer" rel="noreferrer">Graph API Explorer</a> I am able to do a <code>GET</code>/<code>POST</code> to the current Facebook profile. I wrote also an easy JS script which does the same action:</p>
  
  <pre><code>&lt;script type="text/javascript"&gt;
      function publishOnFacebook() {
          var xmlhttp = new XMLHttpRequest();
  
          xmlhttp.onreadystatechange = function () {
              if (xmlhttp.readyState == 4) {
                  console.log(xmlhttp.status);
              }
          }
  
          xmlhttp.open("POST", "https://graph.facebook.com/me/feed?" +
                  "message=https://stackoverflow.com/q/25313299/1021970" +
                  "&amp;access_token=my_token", true);
          xmlhttp.send();
      }
  &lt;/script&gt;
  </code></pre>
  
  <p>It works, but it is not exactly what I want to. It looks like this:</p>
  
  <p><img src="https://i.stack.imgur.com/YzwK1.png" alt="Published post"></p>
  
  <p>without any picture or preview.</p>