FB.getLoginStatus never fires the callback function in Facebook's JavaScript SDK

后端 未结 6 759
被撕碎了的回忆
被撕碎了的回忆 2021-01-04 19:04

The simple thing of calling FB.init (right before ) and then FB.getLoginStatus(callback) doesn\'t fire the callback funct

6条回答
  •  有刺的猬
    2021-01-04 19:46

    Yet another possibility for FB.getLoginStatus not firing its callback is when using a "test" user account that has not been authorized to view that application. Its pretty bad that facebook doesn't give you any error messages. I have also seen failed callbacks on bad appIds and redirectUrls.

提交回复
热议问题