Login - Web SDKs - Documentation - Facebook for Developers

Calling FB.login() results in the JS SDK attempting to open a popup window. As such, this method should only be called after a user click event, otherwise the ...

Lee mas