title: Facebook - FB.UI feed and share dialog
body: <p>I have some trouble with the Facebook FB.UI - Feed and Sare dialog.
  I need to send the page of the website to a friend, im using the FB.UI Javascript API. According to the facebook documentation they said you have to use the "from and to" parameter. But when i use the "from and to" parameters it doesn't work. When i delete these parameters it works fine, but i cant post to a friends wall for sure. </p>
  
  <p>I've been looking for a while, and have try'd the following steps: </p>
  
  <ul>
  <li><p>Does the user have enabled the right settings to post on his timeline (check)</p></li>
  <li><p>Does the user have liked the facebook page (check)</p></li>
  <li><p>Am i logged in (check)</p></li>
  </ul>
  
  <p>This is the link to the documentation: <a href="https://developers.facebook.com/docs/reference/dialogs/feed/" rel="nofollow">Feed and Share Dialogs</a></p>
  
  <p>This is my code:</p>
  
  <p>PS: I get the alert what is saying: "Post was published" but it doesn't show up on facebook. </p>
  
  <pre><code>function share()
  {
      FB.ui({
            method: 'feed',
            name: 'The name',
            link: 'The URL',
            from: '100001738814056',
                to: '100003105898115',
            caption: 'An example caption',
              },  function(response) {
                  if (response &amp;&amp; response.post_id) {
                        alert('Post was published.');
                  } else {
                      alert('Post was not published.');
                      }
                  }
          );
      }
  </code></pre>
  
  <p>edit: I've got some more information about my problem, and i guess i found the problem..
  If you take a look at this image you'll see a row with: "Feed" and one with "?api_key=". If im taking a look at the URL of feed i guess it misses the get api key, not sure if iam correct </p>
  
  <p>The image <a href="http://i.imgur.com/TLz17Zg.png" rel="nofollow">link</a></p>