FB login callback function not responding if user is already logged in facebook

前端 未结 6 1034
星月不相逢
星月不相逢 2021-02-01 22:51

I am using fb connect using js. This is my code:



        
6条回答
  •  情书的邮戳
    2021-02-01 23:21

    Change from "status : true," to "status : false," and I believe it'll do what you want. The problem is status : true makes the status check happen on init, so there is nothing to change when the user clicks the button.

    Found the answer on next-to-last comment here: http://www.bubblefoundry.com/blog/2011/03/the-facebook-login-button-and-logging-into-your-webapp/

提交回复
热议问题