title: Facebook App to post to Facebook Page
body: <p>Can someone please provide an up-to-date guide on how to setup a Facebook App linked to a Business Page to allow posting from an external website?</p>
  
  <p>I have created a Website with Facebook Login App and I am using the JavaScript SDK to posting of content from our website to our Business Page.</p>
  
  <pre><code>&lt;html xmlns="http://www.w3.org/1999/xhtml" xmlns:fb="https://www.facebook.com/2008/fbml"&gt;
  &lt;head&gt;
  &lt;title&gt;My Feed Dialog Page&lt;/title&gt;
  &lt;/head&gt;
  &lt;body&gt;
  &lt;div id='fb-root'&gt;&lt;/div&gt;
  &lt;script src='http://connect.facebook.net/en_US/all.js'&gt;&lt;/script&gt;
  &lt;p&gt;&lt;a onclick='postToFeed(); return false;'&gt;Post to Feed&lt;/a&gt;&lt;/p&gt;
  &lt;p id='msg'&gt;&lt;/p&gt;
  
  &lt;script&gt; 
    FB.init({appId: "OURAPPID", status: true, cookie: true, frictionlessRequests: true});
  
    function postToFeed() {
  
      // calling the API ...
      var obj = {
        method: 'feed',
        link: 'http://www.ourdoamin.com/test.jsp',
        picture: 'http://www.ourdoamin.com/image.jpg',
        name: 'Test Article',
        caption: 'Here We GO',
        description: 'This is a test.'
      };
  
      function callback(response) {
        document.getElementById('msg').innerHTML = "Post ID: " + response['post_id'];
      }
  
      FB.ui(obj, callback);
    }
  
  &lt;/script&gt;
  </code></pre>
  
  <p>
  </p>
  
  <p>When I click the Post to Feed link, I am presented with a dialogue box, the App is correctly identified in the Via field and if I enter a status and click Share, I receive a Post ID.</p>
  
  <p>However, despite the app being correctly referenced and receiving a Post ID, the post actually appears on the Wall of the users account currently logged in and not the Business page.</p>
  
  <p>I would prefer no login at all, just a straight post using the App to the Business Page and not a users individual account.</p>
  
  <p>Can someone, please tell me where I am going wrong and how to correct this?</p>