title: Authorization issue while posting to a Facebook page using JavaScript SDK
body: <p>I want to post into the a Facebook page where the user is admin. Here is the code I have</p>
  
  <pre><code>FB.init({appId: "***********", status: true, cookie: true, frictionlessRequests: true});
  
  var page = null;
  
  function postToPage(page, msg){
    FB.api('/'+page.id+'/feed', 'post', { message: msg, access_token: page.access_token },
       function(res) { console.log(res) }
    )
  }
  
  
  
  FB.login(function(response) {
    if (response.authResponse) {
      // user is logged in and granted some permissions.
      FB.api('/me/accounts', function(response) { 
          console.log(response); 
          page = response.data[0]; 
          postToPage(page, 'hello fb-page world');
      })
     } else {
          // User cancelled login or did not fully authorize.
     }
  }, {scope:'read_stream,publish_stream,offline_access, manage_pages,status_update'});
  </code></pre>
  
  <p>It does not work and when I look at the console, I have the error:</p>
  
  <pre><code>(#200) The user hasn't authorized the application to perform this action  
  </code></pre>
  
  <p>Am I missing an authorization in the <code>scope</code>?</p>