title: (#200) The user hasn't authorized the application to perform this action
body: <p>I am trying to build a Facebook app using Js file provided by them.</p>
  
  <p>I am able to get User Registered for my App, But I have to post Feeds on their wall (also I don't want the Pre-Confirmation message for the User's Approval, User should only Login into his/her account).</p>
  
  <p>Following is the Code:</p>
  
  <pre><code>&lt;script type="text/javascript" src="http://connect.facebook.net/en_US/all.js"&gt;&lt;/script&gt;
  
  FB.init({ appId: '&lt;%: Facebook.FacebookApplication.Current.AppId %&gt;', status: true, cookie: true, xfbml: true });
      var userName;
  
  
      FB.login(function (response) {
          //alert('1');
          if (response.authResponse) {
              var access_token = FB.getAuthResponse()['accessToken'];
              //alert('Access Token = ' + access_token);
              FB.api('/me', function (response) {
                  alert('Good to see you, ' + response.name + '.');
                  userName = response.name;
                  document.getElementById('btnPostFeed').style.display = 'block';
  
              });
          } else {
              document.getElementById('btnPostFeed').style.display = 'none';
              //console.log('User cancelled login or did not fully authorize.');
          }
      }, { scope: '' });    
  
   function SubmitPost(msg) {
  try {
      if (userName != null || typeof userName != 'undefined') {
          var wallPost = {
              message: msg + " By : " + userName,
              picture: '',
              link: '',
              name: 'test app posted in your wall',
              caption: '',
              description: ('Test description')
          };
          FB.api('/me/feed', 'post', wallPost, function (response) {
              if (!response || response.error) {
                  /*action*/
                  alert('Message could not be Posted.');
                  alert(response.error.message);
              } else {
                  /*action*/
                  alert('Message Posted successfully.');
              }
          });
      }
      else {
          alert('Please wait while User Info is Loaded..');
      }
  }
  catch (err) { alert('SubmitPost: ' + err); }
  </code></pre>
  
  <p><strong>My Main issue is:</strong> 
  I get <strong>(#200) The user hasn't authorized the application to perform this action</strong></p>
  
  <p>Following is the Screen shot for the App Registration:
  <img src="https://i.stack.imgur.com/MsAte.png" alt="enter image description here"></p>
  
  <p>What should I do for this?</p>