title: How to open facebook login dialog in the same window instead of popup window?
body: <p>I have website where users can login with their Facebook account. 
  I am using javascript FB.login method to display Facebook login dialog. By default, it triggers displaying new popup window. Many users have forbidden popups in their browser. How to force facebook login dialog to be displayed in the same window where the user clicked on Login button? 
  I can see that it works on this <a href="http://www.buddysport.sk/" rel="noreferrer">website</a></p>
  
  <p>When user click on Login button, he is redirected to facebook. After he login to FB, he is redirected back to the original website. Everything in the same browser tab.</p>