Prevent browsers from blocking facebook login dialog... (#605)
Prevent browsers from blocking facebook login dialog... (#605)

Call FB.login with the click event, not in the response callback
of other FB api calls, FB.login will get the login status and the permissions
instead of getting them using FB.getLoginStatus and FB.api.

See https://developers.facebook.com/docs/reference/javascript/FB.login/v2.10
our-city-app/oca-backend,our-city-app/oca-backend,our-city-app/oca-backend,our-city-app/oca-backend,our-city-app/oca-backend