yii2 Add redirect_url to facebook app setting


Example

If you enable prettyUrl in your yii2-app, your redirect_uri will be:

http://<base_url>/web/site/auth

And disable pretty url:

http://<base_url>/web/index.php?r=site%2Fauth

Example:

Setup redirect_uri