title: FB.ui feed popup blocked after fb.login
body: <p>Here's code flow, first is the login and it's work good, but after that i want to immediately call feed function, that's probably the reason why browser blocked it, is there any other way how i can do this? Its work good if the display is set to iframe, but i really want it as a popup. Tahnks.</p>
  
  <pre><code>&lt;a href="#" onclick="fblogin()"&gt;Share&lt;/a&gt;
  </code></pre>
  
  <p>function</p>
  
  <pre><code>function fblogin() {  
      FB.login(function(response) {
          if (response.authResponse) {  
              FB.api('/me', {fields: 'last_name, first_name, gender, email, id'}, function(reslog) { 
                  FB.getLoginStatus(function(response) {
                      if (response.status === 'connected') {
                           postToFeed(reslog.gender);
                      }
                  });
              });
          } else {
              //console.log('X');
          }
      }, {scope:'email'});      
  }
  </code></pre>
  
  <p>postToFeed</p>
  
  <pre><code>function postToFeed(gender) {
      FB.getLoginStatus(function(response) {
          if (response.status === 'connected') {
              FB.ui( {
                  method: 'feed',
                  display: 'popup',
                  [...]
              }, function( response ) {
                  console.log( 'before',response );
                  if ( response !== null &amp;&amp; typeof response.post_id !== 'undefined' ) {
                      console.log( 'done',response );
                  }
              });       
          }
      }); 
  } 
  </code></pre>