FB.login dialog does not close on Google Chrome

前端 未结 6 1864
长发绾君心
长发绾君心 2020-12-12 17:38

I\'m calling FB.login() on a click event in my application. The dialog pops up as expected, but when the user is done logging into Facebook (and/or authorizing

6条回答
  •  囚心锁ツ
    2020-12-12 17:40

    I had the same exact problem. I did two things, first I added this line right before the FB.init() call:

    FB.Flash.hasMinVersion = function () { return false; };
    

    Then I went into the FB app page and added the Site Domain (i.e. test.com).

    I think the site domain setting was the key, but I am not 100% positive. All I know is that it seems to always close now in all browsers including Chrome.

提交回复
热议问题