title: Error in facebook app
body: <p>I am using javascript sdk to update status in facebook. This is my code</p>
  
  <p>
       </p>
  
  <pre><code>window.fbAsyncInit = function() {
  FB.init({
    appId      : 'id', // App ID
    status     : true, // check login status
    cookie     : true, // enable cookies to allow the server to access the session
    xfbml      : true  // parse XFBML
  });
  
  // Additional initialization code heres
  
     FB.login(function(response) {
    if (response.authResponse) {
   console.log('Welcome!  Fetching your information.... ');
   FB.api('/me', function(response) {
     console.log('Good to see you, ' + response.name + '.');
   });
     } else {
   console.log('User cancelled login or did not fully authorize.')
     }
  });
     };
  
     // Load the SDK Asynchronously
       (function(d){
      var js, id = 'facebook-jssdk', ref = d.getElementsByTagName('script')[0];
      if (d.getElementById(id)) {return;}
       js = d.createElement('script'); js.id = id; js.async = true;
       js.src = "http://connect.facebook.net/en_US/all.js";
        ref.parentNode.insertBefore(js, ref);
        }(document));
     &lt;/script&gt;
  </code></pre>
  
  <p>but i am getting An error occurred message while opening this page.please give a solution to solve this.Or any one else can share the app id which is working fine</p>