title: Facebook permission dialog (JavaScript sdk)
body: <p>I am using OAuth Dialog for Facebook permission to access a users' email, birthday and other details but when I run this app URL that is <code>https://apps.facebook.com/projectatestapp/</code>  (while being logged into Facebook) I see this login to app window which says:</p>
  
  <blockquote>
    <p>You are logging into testapp as Nina Sewart. Logging in will not add this app's activity to Facebook.</p>
  </blockquote>
  
  <p>With log in and cancel button <code>instead of Permission window with Allow and Don't Allow button</code></p>
  
  <p>here is my code </p>
  
  <pre class="lang-html prettyprint-override"><code>&lt;html xmlns:fb="https://www.facebook.com/2008/fbml"&gt;
  &lt;body&gt;
      &lt;script src="http://connect.facebook.net/en_US/all.js"&gt;&lt;/script&gt;
      &lt;div id="fb-root"&gt;&lt;/div&gt;
      &lt;script&gt;
          FB.init({ 
              appId: '[My app id]', 
              xfbml: true, 
              cookie: true,
              oauth: true
          });
  
          FB.login({
              scope: 'email,user_birthday',
          });
      &lt;/script&gt;
  
      &lt;a href="https://www.facebook.com/dialog/oauth/?scope=email,
          user_birthday&amp;
          client_id=148244388606048&amp;
          redirect_uri=https://apps.facebook.com/projectatestapp/test2.html&amp;
          response_type=token" target="_top"&gt;test&lt;/a&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>Please tell me whats wrong in it?</p>