title: Javascript Facebook API Post
body: <p>I just want make a script who post when i make the login. I find this code </p>
  
  <pre><code>var body = 'i13 App - Post test';
      FB.api('/me/feed', 'post', { message: body }, function(response) {
          if (!response || response.error) {
          alert('Error occured');
           }else {
          alert('Post ID: ' + response.id);
          }
      });
  </code></pre>
  
  <p>it work with Facebook javascipt Test Console, but when i put in my script i never can post and received the alert('error occured),</p>
  
  <p>Thz for your help,</p>