I am trying to integrate facebook login on website. Used code:
<fb:login-button autologoutlink="true" scope="read_stream,publish_stream,offline_access,email,user_birthday,status_update,user_status,user_hometown,user_location" onlogin="checkFBLoginStatus();">Sign in with Facebook</fb:login-button>
When the user has already registered with facebook and presses the button generated by this code, the function specified in onlogin is launched twice.
in fbinit i have
status : true, // check login status
cookie : true, // enable cookies to allow the server to access the session
xfbml : true, // parse XFBML
oauth: true
and the checkFBLoginStatus function contains only a warning statement
Anand source
share