yiisoft/yii2 — pull request #4459 by thiagotalma (2014-07-26 04:59:09+00:00)
Title: Facebook Auth - Indicate that the window is a popup.

Without this parameter is showing a full page, which results in the display of a warning message, as the following images.

![](http://i.imgur.com/2stbUir.png)
>*Your pop-up is too small to view this page. Extend it to continue.*

![](http://i.imgur.com/DuAkkLp.png)
>*You are using a display type of "page" in a small navigation window or in a popup window. For a better experience, view this dialogue with our JavaScript SDK without specifying an explicit type of display. The SDK will choose the best display type for each environment. Alternatively, use the display type "pop-up" if you have special circumstances that prevent you from using the SDK. This message is only visible to the developers of your application.*

Whith display=popup:

![](http://i.imgur.com/zxwMuyI.png)